<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#c28">Comment # 28</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>Maybe?

diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index ed2e561..e9a89ab 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -2018,6 +2018,7 @@ sna_dri2_schedule_flip(ClientPtr client, DrawablePtr
draw, xf86CrtcPtr crtc,
                                type = FLIP_THROTTLE;
                                info->mode = -type;
                                current_msc++;
+                               swap_limit(draw, 1);
                                goto out;
                        }
                }</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>