[Bug 92728] connector properties sometimes go outdated

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 30 06:17:29 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92728

--- Comment #8 from Chris Wilson <chris at chris-wilson.co.uk> ---
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;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20151030/953beb7e/attachment.html>


More information about the intel-gfx-bugs mailing list