mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-16 19:03:05 +00:00
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:
@@ -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,
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
@@ -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
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user