sna: Mark partial move_area_to_gpu with MOVE_READ on promotion to move_to_gpu
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 Nov 2013 21:33:18 +0000 (21:33 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 6 Nov 2013 09:00:33 +0000 (09:00 +0000)
commit736b496b458d666416ea94f157c05ce78f98a600
treefb2fe9ae763d94f5e70925de19fbc93a5f6f24ad
parent723f17ca4f9c120be5fe667bf2c3e35c7ee687be
sna: Mark partial move_area_to_gpu with MOVE_READ on promotion to move_to_gpu

When promoting a partial move_area_to_gpu to a full move_to_gpu, we have
to disable certain optimisations that we try to use if MOVE_READ==0.

Reported-and-tested-by: Matti Hamalainen <ccr@tnsp.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=71198
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c