Skip to content

Add power feature debugfs disabling

[email protected] intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/i915: Add RPS debugfs manual modedrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_irq.c +1 more+156 -53 replies
2/5drm/i915: Add RC6 debugfs disablingdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_pm.c+81 -40 replies
3/5drm/i915: Add IPS debugfs disablingdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_display.c+53 -00 replies
4/5drm/i915: Add FBC debugfs disablingdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_pm.c+58 -00 replies
5/5drm/i915: Add CxSR debugfs disablingdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_pm.c+72 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Add power feature debugfs disabling

From: Jeff McGee <[email protected]>

This series has recently been accepted into the Haswell Android kernel and helps with debugging and profiling these power features. I would like it to be considered for upstream incorporation. The patches here have been rebased (minimal changes required) and compile-tested only.

Broad device support is provided, accept for RPS and RC6 with Broadwell and Valleyview. Both of these were somewhat of a moving target and I didn't have devices to work with. Support can of course be added with help from appropriate folks.

The hooks introduce some amount of overhead as an additional check is often needed to determine whether the feature is on or off - similar to the module parameters that already exist. I felt that the overhead was minimal enough and didn't want to ugly up the code with CONFIG_DEBUG_FS compile conditionals. But I'm open to the list's thoughts on this.

IGT tests of these new interfaces can certainly be added. I wanted to make sure there was sufficient interest in having these interfaces before starting on the tests. So please provide feedback.

Thanks,
Jeff

Jeff McGee (5):
drm/i915: Add RPS debugfs manual mode
drm/i915: Add RC6 debugfs disabling
drm/i915: Add IPS debugfs disabling
drm/i915: Add FBC debugfs disabling
drm/i915: Add CxSR debugfs disabling

 drivers/gpu/drm/i915/i915_debugfs.c  | 300 +++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_drv.h      |  14 ++
 drivers/gpu/drm/i915/i915_irq.c      |   6 +
 drivers/gpu/drm/i915/intel_display.c |   4 +
 drivers/gpu/drm/i915/intel_pm.c      | 125 +++++++++++----
 5 files changed, 420 insertions(+), 29 deletions(-)
Signature · 1 line
1.8.5.2