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)
committerJani Nikula <jani.nikula@intel.com>
Mon, 10 Oct 2016 13:06:35 +0000 (16:06 +0300)
commit11dec6a2940c8c8b0791aecdab87f9c9b1371d11
treea3427fa8b6bc8c16380e774ce78d0b35ba1f15f6
parent915b417946030e1f365c63728875cffd8db8e880
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>
(cherry picked from commit 51f592050a523fc5882f9b8b4e9259422e41e848)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c