[Intel-gfx] [PATCH 0/6] drm/i915: Clean up LVDS/PPS macros, suspend/resume logic

Imre Deak imre.deak at intel.com
Tue Aug 9 11:34:06 UTC 2016


Last time I happened to look at the LVDS code I came up with a few
cleanup patches removing the duplication when getting at the LVDS/PPS
registers and removing the opaque LVDS/PPS register save/restore during
system suspend/resume. This patchset is an improved version of that
where based on Ville's idea I unified the PPS register macro definitions
that exist now in 3 instances (for GEN<=4, PCH/BXT, VLV/CHV).

Imre Deak (6):
  drm/i915: Merge the PPS register definitions
  drm/i915: Merge TARGET_POWER_ON and PANEL_POWER_ON flag definitions
  drm/i915/lvds: Restore initial HW state during encoder enabling
  drm/i915/dp: Restore PPS HW state from the encoder resume hook
  drm/i915: Apply the PPS register unlock workaround more consistently
  drm/i915: Remove LVDS and PPS suspend time save/restore

 drivers/gpu/drm/i915/i915_drv.c         |   1 +
 drivers/gpu/drm/i915/i915_drv.h         |   9 +-
 drivers/gpu/drm/i915/i915_reg.h         | 145 +++++++++++++-------------------
 drivers/gpu/drm/i915/i915_suspend.c     |  41 ---------
 drivers/gpu/drm/i915/intel_display.c    |  50 +++++++++--
 drivers/gpu/drm/i915/intel_dp.c         |  60 +++++++------
 drivers/gpu/drm/i915/intel_drv.h        |   1 +
 drivers/gpu/drm/i915/intel_lvds.c       | 140 ++++++++++++++++++++----------
 drivers/gpu/drm/i915/intel_runtime_pm.c |   4 +
 9 files changed, 235 insertions(+), 216 deletions(-)

-- 
2.5.0



More information about the Intel-gfx mailing list