diff options
Diffstat (limited to 'tests/gem_stress.c')
-rw-r--r-- | tests/gem_stress.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/gem_stress.c b/tests/gem_stress.c index e359d8dd..85d17148 100644 --- a/tests/gem_stress.c +++ b/tests/gem_stress.c @@ -283,7 +283,11 @@ static void render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned sr struct scratch_buf *dst, unsigned dst_x, unsigned dst_y, unsigned logical_tile_no) { - if (IS_GEN3(devid)) + if (IS_GEN2(devid)) + gen2_render_copyfunc(src, src_x, src_y, + dst, dst_x, dst_y, + logical_tile_no); + else if (IS_GEN3(devid)) gen3_render_copyfunc(src, src_x, src_y, dst, dst_x, dst_y, logical_tile_no); |