mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +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))
|
if (IS_GEN2(devid))
|
||||||
gen2_render_copyfunc(src, src_x, src_y,
|
gen2_render_copyfunc(src, src_x, src_y,
|
||||||
dst, dst_x, dst_y,
|
dst, dst_x, dst_y);
|
||||||
logical_tile_no);
|
|
||||||
else if (IS_GEN3(devid))
|
else if (IS_GEN3(devid))
|
||||||
gen3_render_copyfunc(src, src_x, src_y,
|
gen3_render_copyfunc(src, src_x, src_y,
|
||||||
dst, dst_x, dst_y,
|
dst, dst_x, dst_y);
|
||||||
logical_tile_no);
|
|
||||||
else if (IS_GEN6(devid))
|
else if (IS_GEN6(devid))
|
||||||
gen6_render_copyfunc(src, src_x, src_y,
|
gen6_render_copyfunc(src, src_x, src_y,
|
||||||
dst, dst_x, dst_y,
|
dst, dst_x, dst_y);
|
||||||
logical_tile_no);
|
|
||||||
else
|
else
|
||||||
blitter_copyfunc(src, src_x, src_y,
|
blitter_copyfunc(src, src_x, src_y,
|
||||||
dst, dst_x, dst_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,
|
void gen6_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y,
|
||||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y,
|
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
|
||||||
unsigned logical_tile_no);
|
|
||||||
void gen3_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_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,
|
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
|
||||||
unsigned logical_tile_no);
|
|
||||||
void gen2_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_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,
|
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
|
||||||
unsigned logical_tile_no);
|
|
||||||
|
@ -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,
|
void gen6_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_y,
|
||||||
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y,
|
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y)
|
||||||
unsigned logical_tile_no)
|
|
||||||
{
|
{
|
||||||
uint32_t wm_state, wm_kernel, wm_table;
|
uint32_t wm_state, wm_kernel, wm_table;
|
||||||
uint32_t cc_vp, cc_blend, offset;
|
uint32_t cc_vp, cc_blend, offset;
|
||||||
|
@ -53,8 +53,7 @@
|
|||||||
#define TB0A_ARG1_SEL_TEXEL3 (9 << 6)
|
#define TB0A_ARG1_SEL_TEXEL3 (9 << 6)
|
||||||
|
|
||||||
void gen2_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_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,
|
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y)
|
||||||
unsigned logical_tile_no)
|
|
||||||
{
|
{
|
||||||
static unsigned keep_gpu_busy_counter = 0;
|
static unsigned keep_gpu_busy_counter = 0;
|
||||||
|
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
#include "gem_stress.h"
|
#include "gem_stress.h"
|
||||||
|
|
||||||
void gen3_render_copyfunc(struct scratch_buf *src, unsigned src_x, unsigned src_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,
|
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y)
|
||||||
unsigned logical_tile_no)
|
|
||||||
{
|
{
|
||||||
static unsigned keep_gpu_busy_counter = 0;
|
static unsigned keep_gpu_busy_counter = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user