Message ID | 1346191621-12996-4-git-send-email-przanoni@gmail.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index b8b7670..4fd22ae 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -787,6 +787,9 @@ void intel_ddi_dpms(struct drm_encoder *encoder, int mode) */ I915_WRITE(DDI_BUF_CTL(port), temp); + + if (mode != DRM_MODE_DPMS_ON && (temp & DDI_BUF_CTL_ENABLE)) + intel_wait_ddi_buf_idle(dev_priv, port); } static void intel_ddi_disable_pipe(struct drm_i915_private *dev_priv,