<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [hsw] WAIT_FOR_EVENT hangs (full screen vsync on pipe 1 with BCS)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69119#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [hsw] WAIT_FOR_EVENT hangs (full screen vsync on pipe 1 with BCS)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69119">bug 69119</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>The last version just moved the check earlier. I doubt it made a difference to
your testing (though there is a very, very small chance it could cause a hang
of its own.)

Next I would test:


diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index be02a78..20c67c9 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3411,6 +3411,7 @@ static bool sna_emit_wait_for_scanline_hsw(struct sna
*sna,
        }
        b[4] = MI_WAIT_FOR_EVENT | event;

+       sna->kgem.batch_flags |= I915_EXEC_SECURE;
        return true;
 }


just in case</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>