summaryrefslogtreecommitdiff
path: root/tests/kms_flip.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-07 12:37:48 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-13 09:35:36 +0100
commit2eca38eab9ccb4bc41ceda4992614ffb311ce4f7 (patch)
tree711f29c0fdf4f2168d2c3ffd5ab8d07f5da7e478 /tests/kms_flip.c
parent3e9b4e37e68da2b866e9cebf7ceb6624617e353b (diff)
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>
Diffstat (limited to 'tests/kms_flip.c')
-rw-r--r--tests/kms_flip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 292b7bc6..09dc3c79 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -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,