mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
gem_stress: remove logical_tile_no arg from render_copy functions
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
205510badf
commit
72f74ce355
@ -299,16 +299,13 @@ static void render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned sr
|
||||
{
|
||||
if (IS_GEN2(devid))
|
||||
gen2_render_copyfunc(src, src_x, src_y,
|
||||
dst, dst_x, dst_y,
|
||||
logical_tile_no);
|
||||
dst, dst_x, dst_y);
|
||||
else if (IS_GEN3(devid))
|
||||
gen3_render_copyfunc(src, src_x, src_y,
|
||||
dst, dst_x, dst_y,
|
||||
logical_tile_no);
|
||||
dst, dst_x, dst_y);
|
||||
else if (IS_GEN6(devid))
|
||||
gen6_render_copyfunc(src, src_x, src_y,
|
||||
dst, dst_x, dst_y,
|
||||
logical_tile_no);
|
||||
dst, dst_x, dst_y);
|
||||
else
|
||||
blitter_copyfunc(src, src_x, src_y,
|
||||
dst, dst_x, dst_y,
|
||||
|
@ -91,11 +91,8 @@ static inline unsigned buf_height(struct scratch_buf *buf)
|
||||
}
|
||||
|
||||
void gen6_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y,
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y,
|
||||
unsigned logical_tile_no);
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
|
||||
void gen3_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y,
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y,
|
||||
unsigned logical_tile_no);
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
|
||||
void gen2_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y,
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y,
|
||||
unsigned logical_tile_no);
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
|
||||
|
@ -527,8 +527,7 @@ static uint32_t gen6_emit_primitive(void)
|
||||
}
|
||||
|
||||
void gen6_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y,
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y,
|
||||
unsigned logical_tile_no)
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y)
|
||||
{
|
||||
uint32_t wm_state, wm_kernel, wm_table;
|
||||
uint32_t cc_vp, cc_blend, offset;
|
||||
|
@ -53,8 +53,7 @@
|
||||
#define TB0A_ARG1_SEL_TEXEL3 (9 << 6)
|
||||
|
||||
void gen2_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y,
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y,
|
||||
unsigned logical_tile_no)
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y)
|
||||
{
|
||||
static unsigned keep_gpu_busy_counter = 0;
|
||||
|
||||
|
@ -3,8 +3,7 @@
|
||||
#include "gem_stress.h"
|
||||
|
||||
void gen3_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y,
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y,
|
||||
unsigned logical_tile_no)
|
||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y)
|
||||
{
|
||||
static unsigned keep_gpu_busy_counter = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user