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:
Daniel Vetter 2012-01-18 00:36:37 +01:00
parent 205510badf
commit 72f74ce355
5 changed files with 9 additions and 18 deletions

View File

@ -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,

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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;