<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - KDE Konsole very slow scrolling with TearFree and QT graphics system native"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77436#c129">Comment # 129</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - KDE Konsole very slow scrolling with TearFree and QT graphics system native"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77436">bug 77436</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 for something different:

diff --git a/src/sna/kgem.c b/src/sna/kgem.c
index 7a7e2f2..52e78f2 100644
--- a/src/sna/kgem.c
+++ b/src/sna/kgem.c
@@ -3369,6 +3369,9 @@ void _kgem_submit(struct kgem *kgem)

        kgem_reset(kgem);

+       if (kgem->scanout_busy)
+               isItTimeToYield = TRUE;
+
        assert(kgem->next_request != NULL);
 }</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>