<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#c11">Comment # 11</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>Try:

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index e2969b6..6bb8250 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3250,6 +3250,9 @@ sna_output_attach_edid(xf86OutputPtr output)
                old = NULL;

        blob.blob_id = sna_output->prop_values[sna_output->edid_idx];
+       if (!blob.blob_id)
+               goto done;
+
        DBG(("%s: attaching EDID id=%d, current=%d\n",
             __FUNCTION__, blob.blob_id, sna_output->edid_blob_id));
        if (blob.blob_id == sna_output->edid_blob_id && 0) { /* sigh */
@@ -3270,7 +3273,7 @@ sna_output_attach_edid(xf86OutputPtr output)

        blob.data = (uintptr_t)raw;
        if (drmIoctl(sna->kgem.fd, DRM_IOCTL_MODE_GETPROPBLOB, &blob))
-               goto done;
+               goto skip_read;

        DBG(("%s: retrieving blob id=%d, length=%d\n",
             __FUNCTION__, blob.blob_id, blob.length))</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>