[Bug 59821] [sna g33 suse] window background full of colors

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 30 06:15:32 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=59821

--- Comment #9 from Chris Wilson <chris at chris-wilson.co.uk> ---
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);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130130/59659a22/attachment.html>


More information about the intel-gfx-bugs mailing list