]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915/bxt: Don't save/restore eDP panel power during suspend (v3)
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 6 Jan 2016 17:53:41 +0000 (09:53 -0800)
committerImre Deak <imre.deak@intel.com>
Tue, 2 Feb 2016 18:12:05 +0000 (20:12 +0200)
commite1ea07542352be468e901173c7a1beeee404d696
tree169859d5b055b373493def598fa671bbf23d2f3c
parent05d25214c4d1cab99d1056f99b7e7d95e9e31ed0
drm/i915/bxt: Don't save/restore eDP panel power during suspend (v3)

Our attempts save/restore panel power state in i915_suspend.c are
causing unclaimed register warnings on BXT since the registers for this
platform differ from older platforms.

The big hammer suspend/resume shouldn't be necessary for PP since the
connector/encoder hooks should already handle this.  In theory we could
remove this for all platforms, but in practice it's likely that would
cause some regressions since older platforms with LVDS may have
incomplete PP handling.  For now we'll leave the PCH save/restore alone
and change the non-PCH branch to only operate on gen <= 4 so that BXT
and future platforms aren't included.

v2: Typo fix: s/||/&&/

v3: Change non-PCH condition to a gen <= 4 test rather than listing
    VLV/CHV/BXT as specific platforms to exclude; should be more
    future-proof as we add new platforms.  (Daniel)

Cc: Vandana Kannan <vandana.kannan@intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: drm-intel-fixes@lists.freedesktop.org
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1452102821-17190-1-git-send-email-matthew.d.roper@intel.com
drivers/gpu/drm/i915/i915_suspend.c