drm/i915: Unlock PPS registers after GPU reset
authorImre Deak <imre.deak@intel.com>
Wed, 14 Sep 2016 10:04:13 +0000 (13:04 +0300)
committerImre Deak <imre.deak@intel.com>
Tue, 20 Sep 2016 12:04:43 +0000 (15:04 +0300)
commit51f592050a523fc5882f9b8b4e9259422e41e848
tree3ab786de9634a9645fff698133014cac9414656d
parente29aff05f239f8dd24e9ee7816fd96726e20105a
drm/i915: Unlock PPS registers after GPU reset

Reapply the PPS register unlock workaround after GPU reset on platforms
where the reset clobbers the display HW state. This at least gets rid of
the related WARN during LVDS encoder enabling on PNV.

Fixes: ed6143b8f75 ("drm/i915/lvds: Restore initial HW state during encoder enabling")
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1473847453-4771-1-git-send-email-imre.deak@intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c