[Intel-gfx] [RFC 16/30] drm/i915: disable DDI on intel_dp_link_down
Paulo Zanoni
przanoni at gmail.com
Wed Aug 29 00:06:47 CEST 2012
From: Paulo Zanoni <paulo.r.zanoni at intel.com>
It requires a full disable of everything.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
---
drivers/gpu/drm/i915/intel_dp.c | 5 +++++
1 file changed, 5 insertions(+)
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;
--
1.7.11.2
More information about the Intel-gfx
mailing list