gem_stress: use the gen7 rendercopy
authorBen Widawsky <ben@bwidawsk.net>
Fri, 29 Jun 2012 05:43:47 +0000 (22:43 -0700)
committerBen Widawsky <ben@bwidawsk.net>
Fri, 29 Jun 2012 05:52:04 +0000 (22:52 -0700)
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
tests/gem_stress.c

index 3acaaa4..69239ac 100644 (file)
@@ -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,