[Intel-gfx] [PATCH 00/23] Merge PC8 with runtime PM, v2

Paulo Zanoni przanoni at gmail.com
Thu Feb 27 23:26:27 CET 2014


From: Paulo Zanoni <paulo.r.zanoni at intel.com>

Hi

This is the second time I send this series to the mailing list. Please read the
first cover letter:
   http://lists.freedesktop.org/archives/intel-gfx/2013-December/037721.html

What's new?

Two main differences:
  - Added a patch from Chris, which resulted in a change on how we handle
    dev_priv->pc8.gpu_busy later.
  - Fixed a bug on the forcewake handling.

There is some discussion if we want to merge this first, or the VLV power wells
patches first. Independently of the decision, I think we should try to at least
discuss these patches and review what can be reviewed. I really think this
series should make it easier to add runtime PM support to other platforms, and I
even added BDW and SNB support on top of these patches.

Thanks,
Paulo

Chris Wilson (1):
  drm/i915: Accurately track when we mark the hardware as idle/busy

Paulo Zanoni (22):
  drm/i915: put runtime PM only at the end of intel_mark_idle
  drm/i915: put runtime PM only when we actually release force_wake
  drm/i915: kill dev_priv->pc8.gpu_idle
  drm/i915: rename modeset_update_power_wells
  drm/i915: get/put runtime PM without holding rps.hw_lock
  drm/i915: add forcewake functions that don't touch runtime PM
  drm/i915: extract __hsw_do_{en,dis}able_package_c8
  drm/i915: make PC8 be part of runtime PM suspend/resume
  drm/i915: get/put runtime PM when we get/put a power domain
  drm/i915: remove dev_priv->pc8.requirements_met
  drm/i915: get runtime PM references when the GPU is idle/busy
  drm/i915: kill pc8.disable_count
  drm/i915: remove an indirection level on PC8 functions
  drm/i915: don't get/put PC8 reference on freeze/thaw
  drm/i915: get/put runtime PM references for GMBUS and DP AUX
  drm/i915: don't get/put PC8 when getting/putting power wells
  drm/i915: remove dev_priv->pc8.enabled
  drm/i915: move pc8.irqs_disabled to pm.irqs_disabled
  drm/i915: kill struct i915_package_c8
  drm/i915: rename __hsw_do_{en,dis}able_pc8
  drm/i915: update the PC8 and runtime PM documentation
  drm/i915: init pm.suspended earlier

 drivers/gpu/drm/i915/i915_debugfs.c  |  22 ++--
 drivers/gpu/drm/i915/i915_dma.c      |   2 -
 drivers/gpu/drm/i915/i915_drv.c      |  13 ++-
 drivers/gpu/drm/i915/i915_drv.h      |  79 +++++---------
 drivers/gpu/drm/i915/i915_gem.c      |  16 ++-
 drivers/gpu/drm/i915/i915_irq.c      |  58 +++++------
 drivers/gpu/drm/i915/i915_params.c   |  10 --
 drivers/gpu/drm/i915/intel_display.c | 197 ++++++++---------------------------
 drivers/gpu/drm/i915/intel_dp.c      |   4 +-
 drivers/gpu/drm/i915/intel_drv.h     |  11 +-
 drivers/gpu/drm/i915/intel_i2c.c     |   4 +-
 drivers/gpu/drm/i915/intel_pm.c      |  43 ++------
 drivers/gpu/drm/i915/intel_uncore.c  |  54 +++++++++-
 13 files changed, 192 insertions(+), 321 deletions(-)

-- 
1.8.5.3




More information about the Intel-gfx mailing list