<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - System lock up on OpenGL fullscreen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94982#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - System lock up on OpenGL fullscreen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94982">bug 94982</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>diff --git a/src/sna/sna_present.c b/src/sna/sna_present.c
index 2f181a9..f5d1515 100644
--- a/src/sna/sna_present.c
+++ b/src/sna/sna_present.c
@@ -394,8 +394,7 @@ sna_present_vblank_handler(struct drm_event_vblank *event)

        if (info->sna->mode.shadow_wait) {
                DBG(("%s: recursed from TearFree\n", __FUNCTION__));
-               info->target_msc = msc + 1;
-               if (sna_present_queue(info, msc))
+               if (TimerSet(NULL, 0, 1, sna_fake_vblank_handler, info))
                        return;
        }</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>