]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/i915: make sure panel is sequenced off when starting a mode set
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 8 Sep 2010 19:42:05 +0000 (12:42 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 20:20:27 +0000 (21:20 +0100)
Otherwise we may not be able to train the DP link.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_dp.c

index bcd81f96fc7f3357bde6269b6b2bd2d12f50e3d0..27805a9ca877feadb743c57039e1cef084df5520 100644 (file)
@@ -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);