summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-06-28 22:43:47 -0700
committerBen Widawsky <ben@bwidawsk.net>2012-06-28 22:52:04 -0700
commitbeb1bb8fd26b1b1c55242c3b2a3004a346d64b80 (patch)
treef7f9cb3b5c052adef78e0dc6e4a020a3272ca703
parent2234f87a0852f321a6f85e8fcd6fbb6866f9c944 (diff)
gem_stress: use the gen7 rendercopyrendercopy_gen7
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r--tests/gem_stress.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/gem_stress.c b/tests/gem_stress.c
index 3acaaa49..69239ac1 100644
--- a/tests/gem_stress.c
+++ b/tests/gem_stress.c
@@ -343,6 +343,11 @@ static void render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned sr
src, src_x, src_y,
options.tile_size, options.tile_size,
dst, dst_x, dst_y);
+ else if (IS_GEN7(devid))
+ gen7_render_copyfunc(batch,
+ src, src_x, src_y,
+ options.tile_size, options.tile_size,
+ dst, dst_x, dst_y);
else
blitter_copyfunc(src, src_x, src_y,
dst, dst_x, dst_y,