From: Jesse Barnes Date: Wed, 8 Sep 2010 19:42:05 +0000 (-0700) Subject: drm/i915: make sure panel is sequenced off when starting a mode set X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c9d97545914cc764786702f361a1f1c9bb8dfa9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/i915: make sure panel is sequenced off when starting a mode set Otherwise we may not be able to train the DP link. Signed-off-by: Jesse Barnes Signed-off-by: Chris Wilson --- diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index bcd81f96fc7f..27805a9ca877 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -894,6 +894,7 @@ static void intel_dp_prepare(struct drm_encoder *encoder) uint32_t dp_reg = I915_READ(intel_dp->output_reg); if (IS_eDP(intel_dp) || IS_PCH_eDP(intel_dp)) { + ironlake_edp_panel_off(dev); ironlake_edp_backlight_off(dev); ironlake_edp_panel_vdd_on(dev); ironlake_edp_pll_on(encoder);