Message ID | 1346191621-12996-17-git-send-email-przanoni@gmail.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 3c6b94c..e59d676 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -2004,6 +2004,11 @@ intel_dp_link_down(struct intel_dp *intel_dp) struct drm_i915_private *dev_priv = dev->dev_private; uint32_t DP = intel_dp->DP; + if (IS_HASWELL(dev)) { + intel_ddi_disable(&intel_dp->base.base); + return; + } + if ((I915_READ(intel_dp->output_reg) & DP_PORT_EN) == 0) return;