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 <jbarnes@virtuousgeek.org> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
3ba5c569c4
commit
2c9d975459
|
@ -894,6 +894,7 @@ static void intel_dp_prepare(struct drm_encoder *encoder)
|
||||||
uint32_t dp_reg = I915_READ(intel_dp->output_reg);
|
uint32_t dp_reg = I915_READ(intel_dp->output_reg);
|
||||||
|
|
||||||
if (IS_eDP(intel_dp) || IS_PCH_eDP(intel_dp)) {
|
if (IS_eDP(intel_dp) || IS_PCH_eDP(intel_dp)) {
|
||||||
|
ironlake_edp_panel_off(dev);
|
||||||
ironlake_edp_backlight_off(dev);
|
ironlake_edp_backlight_off(dev);
|
||||||
ironlake_edp_panel_vdd_on(dev);
|
ironlake_edp_panel_vdd_on(dev);
|
||||||
ironlake_edp_pll_on(encoder);
|
ironlake_edp_pll_on(encoder);
|
||||||
|
|
Loading…
Reference in New Issue