<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - connector properties sometimes go outdated"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92728#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - connector properties sometimes go outdated"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92728">bug 92728</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>The kernel reports success and says there is no EDID. The kernel also thinks
that the EDID is length 68 on occasion. I don't think this is an issue with the
ddx not requesting the right property id. For sanity's sake though:
@@ -3238,8 +3248,8 @@ sna_output_attach_edid(xf86OutputPtr output)
if (sna_output->edid_idx == -1)
return;
- DBG(("%s(%s): querying EDID property value\n",
- __FUNCTION__, output->name));
+ DBG(("%s(%s): querying EDID property [%d] value\n",
+ __FUNCTION__, output->name,
sna_output->prop_ids[sna_output->edid_idx]));
memset(&prop, 0, sizeof(prop));
prop.prop_id = sna_output->prop_ids[sna_output->edid_idx];
@@ -3251,6 +3261,14 @@ sna_output_attach_edid(xf86OutputPtr output)
__FUNCTION__, output->name));
return;
}
+ DBG(("%s(%s): found property '%s' num_values=%d\n",
+ __FUNCTION__, output->name, prop.name, prop.count_values));
+
+ if (prop.count_values != 1) {
+ DBG(("%s(%s): unexpected number of values for EDID: %d\n",
+ __FUNCTION__, output->name, prop.count_values));
+ return;
+ }
raw = sna_output->edid_raw;
blob.length = sna_output->edid_len;</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>
</ul>
</body>
</html>