Commit 4fcfc9f1 authored by Daniel Vetter's avatar Daniel Vetter

gem_stress: gen2 render copy

Sometimes acts up like gen3 on my i855gm. Sometimes works flawless.
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <>
parent a6751bac
This diff is collapsed.
......@@ -5,7 +5,8 @@ noinst_PROGRAMS = \
gem_stress_SOURCES = \
gem_stress.c \
gem_stress.h \
gem_stress_i915.c \
TESTS = getversion \
getclient \
......@@ -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,
else if (IS_GEN3(devid))
gen3_render_copyfunc(src, src_x, src_y,
dst, dst_x, dst_y,
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment