gem_stress: remove logical_tile_no arg from render_copy functions
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Jan 2012 23:36:37 +0000 (00:36 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Jan 2012 23:36:37 +0000 (00:36 +0100)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/gem_stress.c
tests/gem_stress.h
tests/gem_stress_gen6.c
tests/gem_stress_i830.c
tests/gem_stress_i915.c

index ea97780..28686d9 100644 (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,
index 0905a1b..9d42a75 100644 (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);
index 735c489..f140d86 100644 (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;
index 317a492..f952c44 100644 (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;
 
index 396b8d3..1d47088 100644 (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;