<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Internal display not working on Baytrail notebook."
href="https://bugs.freedesktop.org/show_bug.cgi?id=71051#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Internal display not working on Baytrail notebook."
href="https://bugs.freedesktop.org/show_bug.cgi?id=71051">bug 71051</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>Ugh. Let's annotate the other path then:
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index c392ad2..9707c47 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -2949,6 +2949,10 @@ g4x_dp_detect(struct intel_dp *intel_dp)
return connector_status_unknown;
}
+ DRM_DEBUG_KMS("checking connected status of port %c: %08x & %08x?
%d\n",
+ port_name(intel_dig_port->port),
+ I915_READ(PORT_HOTPLUG_STAT), bit,
+ (I915_READ(PORT_HOTPLUG_STAT) & bit) != 0);
if ((I915_READ(PORT_HOTPLUG_STAT) & bit) == 0)
return connector_status_disconnected;</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>