sna: Pass MOVE_READ for partial TearFree move-to-gpu
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Dec 2013 16:12:22 +0000 (16:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 5 Dec 2013 16:16:02 +0000 (16:16 +0000)
commit46256fa5a0ca4230ae7c226781c78c525e2648c6
treeb0a20549e6aaf4e07197a3c59998d1f97a23269a
parent693c1343ed29d8779ce3ad5c0e80fbe6d7d0689f
sna: Pass MOVE_READ for partial TearFree move-to-gpu

When fixing up a pending shadow pageflip for TearFree, we must tell it
that it needs to flush the damage for a partial move-to-gpu. Even though
the current area does not read from the destination, the move-to-gpu
callback is a global pass, and we need to assume the worst for the
region outside of the target.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72343
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c