linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Move pm_runtime accounted time to raw nsec
@ 2018-12-18 14:55 Vincent Guittot
  2018-12-18 14:55 ` [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time Vincent Guittot
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Vincent Guittot @ 2018-12-18 14:55 UTC (permalink / raw)
  To: linux-pm, linux-kernel, rjw, thara.gopinath, jani.nikula,
	joonas.lahtinen, rodrigo.vivi, airlied, intel-gfx, dri-devel
  Cc: ulf.hansson, Vincent Guittot

Move pm_runtime accounted time to raw nsec. The subject of the patchset
has changed as the 1st patch has been queued by Rafael

Patch 1 adds a new pm_runtime interface to get accounted suspended time

Patch 2 moves drm/i915 driver on the new interface and removes access to internal
fields

Patch 3 moves time accounting on raw ns. This patch initially used
ktime instead of raw ns but it was easier to move i915 driver on raw ns
than on ktim

Changes since v2:
- remove patch1 that has been queued by rafael
- add new interface in pm_runtime to get accounted time
- reorder patchset to prevent compilation error

Changes since v1:
- updated commit message of patch 1
- Added patches 2 & 3 to move runtime_pm accounting on raw ns
  
Thara Gopinath (1):
  PM/runtime:Replace jiffies based accounting with ktime based
    accounting

Vincent Guittot (2):
  PM/runtime: Add a new interface to get accounted time
  drm/i915: Move on the new pm runtime interface

 drivers/base/power/runtime.c    | 36 +++++++++++++++++++++++++++++++-----
 drivers/base/power/sysfs.c      | 11 ++++++++---
 drivers/gpu/drm/i915/i915_pmu.c | 18 ++++++++----------
 drivers/gpu/drm/i915/i915_pmu.h |  4 ++--
 include/linux/pm.h              |  6 +++---
 include/linux/pm_runtime.h      |  2 ++
 6 files changed, 54 insertions(+), 23 deletions(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-12-20  9:41 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-18 14:55 [PATCH v3 0/3] Move pm_runtime accounted time to raw nsec Vincent Guittot
2018-12-18 14:55 ` [RFC v3 1/3] PM/runtime: Add a new interface to get accounted time Vincent Guittot
2018-12-19  9:58   ` Ulf Hansson
2018-12-19 10:11     ` Vincent Guittot
2018-12-19 10:20       ` Ulf Hansson
2018-12-19 10:34         ` Vincent Guittot
2018-12-19 10:43           ` Ulf Hansson
2018-12-19 10:52             ` Ulf Hansson
2018-12-19 11:13               ` Ulf Hansson
2018-12-19 13:25             ` Vincent Guittot
2018-12-19 16:36               ` Ulf Hansson
2018-12-19 16:52                 ` Vincent Guittot
2018-12-20  8:15                   ` Ulf Hansson
2018-12-20  8:44                     ` Vincent Guittot
2018-12-20  9:40                       ` Ulf Hansson
2018-12-19 15:25     ` Vincent Guittot
2018-12-18 14:55 ` [RFC 2/3] drm/i915: Move on the new pm runtime interface Vincent Guittot
2018-12-18 14:55 ` [PATCH 3/3] PM/runtime:Replace jiffies based accounting with ktime based accounting Vincent Guittot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).