<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [sna g33 suse] window background full of colors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59821#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [sna g33 suse] window background full of colors"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=59821">bug 59821</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>Seems to be something to do with:

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 2cc45e4..163d4c5 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -1744,7 +1744,7 @@ done:
                if ((flags & MOVE_ASYNC_HINT) == 0) {
                        DBG(("%s: syncing CPU bo\n", __FUNCTION__));
                        kgem_bo_sync__cpu_full(&sna->kgem,
-                                              priv->cpu_bo, flags &
MOVE_WRITE)
+                                              priv->cpu_bo, 1);//flags &
MOVE_W
                        assert(!priv->shm || !kgem_bo_is_busy(priv->cpu_bo));
                }
                if (flags & MOVE_WRITE) {
@@ -2267,7 +2267,7 @@ out:
        if ((flags & MOVE_ASYNC_HINT) == 0 && priv->cpu_bo) {
                DBG(("%s: syncing cpu bo\n", __FUNCTION__));
                kgem_bo_sync__cpu_full(&sna->kgem,
-                                      priv->cpu_bo, flags & MOVE_WRITE);
+                                      priv->cpu_bo, 1);//flags & MOVE_WRITE);
        }
        priv->cpu = (flags & MOVE_ASYNC_HINT) == 0;
        assert(pixmap->devPrivate.ptr);</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>