<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [[SNB][SNA][Regression in 2.99.911]] Firefox html5 video corrupted"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77063#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [[SNB][SNA][Regression in 2.99.911]] Firefox html5 video corrupted"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77063">bug 77063</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>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.</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>