From 13932d67de1ab11f768782138ea88a00fc2ff4a5 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 29 Jun 2013 17:17:52 +0100 Subject: [PATCH] tests/gem_cpu_concurrent_blit: Restore lost intel_copy_bo() 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 --- tests/gem_cpu_concurrent_blit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/gem_cpu_concurrent_blit.c b/tests/gem_cpu_concurrent_blit.c index bf1d5da3..1ad126df 100644 --- a/tests/gem_cpu_concurrent_blit.c +++ b/tests/gem_cpu_concurrent_blit.c @@ -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++)