<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [regression] DRI2 races"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78992#c30">Comment # 30</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [regression] DRI2 races"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78992">bug 78992</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>Time to start narrowing down the affected paths:

diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 85492b5..6cbda1d 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -2007,7 +2007,7 @@ sna_dri2_schedule_flip(ClientPtr client, DrawablePtr
draw, xf86CrtcPtr crtc,
                                info->back = back;
                                sna_dri2_reference_buffer(back);
                        }
-                       if (current_msc >= *target_msc) {
+                       if (current_msc >= *target_msc && 0) {
                                DBG(("%s: executing xchg of pending flip\n",
                                     __FUNCTION__));</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>