sna: Move gc back to GPU after failure to move it to CPU
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Oct 2013 14:19:15 +0000 (15:19 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 22 Oct 2013 15:43:19 +0000 (16:43 +0100)
commite3f15cbf39696edae9f716bdcfbb7032ec7d7e3f
tree9a56ef875c34ea283b7000591eb86fb69e6bf3bf
parent0d18b3956501e53e2ea6b5afcdf9af2f587fbc84
sna: Move gc back to GPU after failure to move it to CPU

As the failure in gc move-to-cpu occurs late, i.e. after the function
pointers are updated to point to CPU functions, we need to undo those
changes, i.e. call move-to-gpu for the GC on failure.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_accel.c