[Intel-gfx] [PATCH 0/5] Add power feature debugfs disabling

jeff.mcgee at intel.com jeff.mcgee at intel.com
Fri Jan 31 22:42:47 CET 2014


From: Jeff McGee <jeff.mcgee at intel.com>

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(-)

-- 
1.8.5.2




More information about the Intel-gfx mailing list