mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
gem_stress: gen2 render copy
Sometimes acts up like gen3 on my i855gm. Sometimes works flawless. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+5
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user