summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-01-18 00:36:37 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-01-18 00:36:37 +0100
commit72f74ce35512aebebf7f9a35e54cd7746ab30017 (patch)
treea30f70ac8a618d675db246916106f02949812b8d /tests
parent205510badf00f82c0dc069ca15c5016a6fe18a60 (diff)
gem_stress: remove logical_tile_no arg from render_copy functions
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_stress.c9
-rw-r--r--tests/gem_stress.h9
-rw-r--r--tests/gem_stress_gen6.c3
-rw-r--r--tests/gem_stress_i830.c3
-rw-r--r--tests/gem_stress_i915.c3
5 files changed, 9 insertions, 18 deletions
diff --git a/tests/gem_stress.c b/tests/gem_stress.c
index ea977803..28686d98 100644
--- a/tests/gem_stress.c
+++ b/tests/gem_stress.c
@@ -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,
diff --git a/tests/gem_stress.h b/tests/gem_stress.h
index 0905a1bb..9d42a75b 100644
--- a/tests/gem_stress.h
+++ b/tests/gem_stress.h
@@ -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);
diff --git a/tests/gem_stress_gen6.c b/tests/gem_stress_gen6.c
index 735c4897..f140d861 100644
--- a/tests/gem_stress_gen6.c
+++ b/tests/gem_stress_gen6.c
@@ -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;
diff --git a/tests/gem_stress_i830.c b/tests/gem_stress_i830.c
index 317a4928..f952c443 100644
--- a/tests/gem_stress_i830.c
+++ b/tests/gem_stress_i830.c
@@ -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;
diff --git a/tests/gem_stress_i915.c b/tests/gem_stress_i915.c
index 396b8d3c..1d470886 100644
--- a/tests/gem_stress_i915.c
+++ b/tests/gem_stress_i915.c
@@ -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;