tests/gem_cpu_concurrent_blit: Restore lost intel_copy_bo()
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 29 Jun 2013 16:17:52 +0000 (17:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 29 Jun 2013 16:19:35 +0000 (17:19 +0100)
Accidentally replaced the intel_copy_bo() with the set_bo() in the
"overwrite-source" in 4fd34977aff60f58cd955eb9c2d568d5fb824611 when
clearly I wanted to simply add the calls to set_bo() first.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/gem_cpu_concurrent_blit.c

index bf1d5da..1ad126d 100644 (file)
@@ -121,6 +121,8 @@ main(int argc, char **argv)
                        set_bo(src[i], i, width, height);
                        set_bo(dst[i], i, width, height);
                }
+               for (i = 0; i < num_buffers; i++)
+                       intel_copy_bo(batch, dst[i], src[i], width, height);
                for (i = num_buffers; i--; )
                        set_bo(src[i], 0xdeadbeef, width, height);
                for (i = 0; i < num_buffers; i++)