<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [IVB HDMI] PCH HDMI (0x000e1160) enabled on transcoder A, should be disabled - hdmi detect failure?"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88331#c18">Comment # 18</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [IVB HDMI] PCH HDMI (0x000e1160) enabled on transcoder A, should be disabled - hdmi detect failure?"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88331">bug 88331</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>Ah, no eDP and so dpd_is_edp lies. Try
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index ede580407450..bac218fe9347 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -14152,17 +14152,19 @@ static void intel_setup_outputs(struct drm_device
*dev)
intel_dp_init(dev, PCH_DP_B, PORT_B);
}
+ if (I915_READ(PCH_DP_C) & DP_DETECTED)
+ intel_dp_init(dev, PCH_DP_C, PORT_C);
+
+ if (I915_READ(PCH_DP_D) & DP_DETECTED) {
+ if (!intel_dp_init(dev, PCH_DP_D, PORT_D))
+ dpd_is_edp = false;
+ }
+
if (I915_READ(PCH_HDMIC) & SDVO_DETECTED)
intel_hdmi_init(dev, PCH_HDMIC, PORT_C);
if (!dpd_is_edp && I915_READ(PCH_HDMID) & SDVO_DETECTED)
intel_hdmi_init(dev, PCH_HDMID, PORT_D);
-
- if (I915_READ(PCH_DP_C) & DP_DETECTED)
- intel_dp_init(dev, PCH_DP_C, PORT_C);
-
- if (I915_READ(PCH_DP_D) & DP_DETECTED)
- intel_dp_init(dev, PCH_DP_D, PORT_D);
} else if (IS_VALLEYVIEW(dev)) {
/*
* The DP_DETECTED bit is the latched state of the DDC</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>