[PATCH 4/6] drm/i915/dp: Restore PPS HW state from the encoder resume hook

Imre Deak imre.deak at intel.com
Mon Aug 8 18:12:06 UTC 2016


Similarly to the previous patch, initialize the PPS from the DP
encoder's resume hook. Note that we as opposed to LVDS we can't do this
during encoder enabling, since we need the PPS for DP detection as well.

Signed-off-by: Imre Deak <imre.deak at intel.com>
---
 drivers/gpu/drm/i915/intel_dp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 4796ad7..76f5b72 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -4665,6 +4665,9 @@ void intel_dp_encoder_reset(struct drm_encoder *encoder)
 	 */
 	if (IS_VALLEYVIEW(encoder->dev) || IS_CHERRYVIEW(encoder->dev))
 		vlv_initial_power_sequencer_setup(intel_dp);
+	else
+		intel_dp_init_panel_power_sequencer_registers(encoder->dev,
+							      intel_dp);
 
 	intel_edp_panel_vdd_sanitize(intel_dp);
 
-- 
2.5.0



More information about the Intel-gfx-trybot mailing list