[Bug 77063] [[SNB][SNA][Regression in 2.99.911]] Firefox html5 video corrupted

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 5 03:32:48 PDT 2014


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

--- Comment #6 from Chris Wilson <chris at chris-wilson.co.uk> ---
This is the hack to fix it:

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index 0116d54..b01c1e2 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -2527,7 +2527,7 @@ sna_drawable_move_region_to_cpu(DrawablePtr drawable,
                return _sna_pixmap_move_to_cpu(pixmap, flags);
        }

-       if ((flags & MOVE_READ) == 0 &&
+       if ((flags & MOVE_READ) == 0 && 0 &&
            priv->gpu_damage &&
            region_subsumes_damage(region, priv->gpu_damage)) {
                DBG(("%s: region [(%d, %d), (%d, %d)] subsumes damage [(%d,%d),

Now I just need to work out why that logic is wrong.

-- 
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/20140405/498c9e02/attachment-0001.html>


More information about the intel-gfx-bugs mailing list