lib/igt_aux: s/swap/igt_swap/

It collides with the subtest naming convention glossary entry for swap.
Which makes the docbook xml stuff unhappy.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2015-02-07 12:37:48 +01:00
parent 3e9b4e37e6
commit 2eca38eab9
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ static void exchange_uint32_t(void *array, unsigned i, unsigned j)
{
uint32_t *i_arr = array;
swap(i_arr[i], i_arr[j]);
igt_swap(i_arr[i], i_arr[j]);
}
static int minor_evictions(int fd, struct igt_eviction_test_ops *ops,
+2 -2
View File
@@ -55,13 +55,13 @@ static int ctx_per_thread;
static void xchg_ptr(void *array, unsigned i, unsigned j)
{
void **A = array;
swap(A[i], A[j]);
igt_swap(A[i], A[j]);
}
static void xchg_int(void *array, unsigned i, unsigned j)
{
int *A = array;
swap(A[i], A[j]);
igt_swap(A[i], A[j]);
}
static int reopen(int _fd)
+1 -1
View File
@@ -172,7 +172,7 @@ static void exchange_uint(void *array, unsigned i, unsigned j)
{
unsigned *i_arr = array;
swap(i_arr[i], i_arr[j]);
igt_swap(i_arr[i], i_arr[j]);
}
static void run_sync_test(int num_buffers, bool verify)
+1 -1
View File
@@ -571,7 +571,7 @@ static void exchange_uint(void *array, unsigned i, unsigned j)
{
unsigned *i_arr = array;
swap(i_arr[i], i_arr[j]);
igt_swap(i_arr[i], i_arr[j]);
}
static void copy_tiles(unsigned *permutation)
+2 -2
View File
@@ -242,7 +242,7 @@ static int _emit_dummy_load__bcs(struct test_output *o, int limit, int timeout)
2048, 2048,
2048*4, 2048*4);
swap(src_bo, dst_bo);
igt_swap(src_bo, dst_bo);
}
blit_copy(fb_bo, src_bo,
min(o->fb_width, 2048), min(o->fb_height, 2048),
@@ -357,7 +357,7 @@ static int _emit_dummy_load__rcs(struct test_output *o, int limit, int timeout)
2048, 2048,
dst, 0, 0);
swap(src, dst);
igt_swap(src, dst);
}
copyfunc(batch, NULL,
src, 0, 0,