diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-12 12:17:35 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-12 12:20:22 +0200 |
commit | 1caaf0a6b6e00e3ab85a10d7e9e36907d4c1d577 (patch) | |
tree | 258ab2ef01b3461f1dc85f081a59ecd578874326 /tests/gem_gtt_concurrent_blit.c | |
parent | 814b135541813a6ee623eda895119acdea7f7a2f (diff) |
s/drmtest_/igt_/
Requested-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_gtt_concurrent_blit.c')
-rw-r--r-- | tests/gem_gtt_concurrent_blit.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/gem_gtt_concurrent_blit.c b/tests/gem_gtt_concurrent_blit.c index 3f3527a9..15a23362 100644 --- a/tests/gem_gtt_concurrent_blit.c +++ b/tests/gem_gtt_concurrent_blit.c @@ -98,8 +98,8 @@ main(int argc, char **argv) int width = 512, height = 512; int fd, loop, i; - drmtest_subtest_init(argc, argv); - drmtest_skip_on_simulation(); + igt_subtest_init(argc, argv); + igt_skip_on_simulation(); fd = drm_open_any(); @@ -111,7 +111,7 @@ main(int argc, char **argv) drm_intel_bufmgr_gem_enable_reuse(bufmgr); batch = intel_batchbuffer_alloc(bufmgr, intel_get_drm_devid(fd)); - if (!drmtest_only_list_subtests()) { + if (!igt_only_list_subtests()) { for (i = 0; i < num_buffers; i++) { src[i] = create_bo(bufmgr, i, width, height); dst[i] = create_bo(bufmgr, ~i, width, height); @@ -120,7 +120,7 @@ main(int argc, char **argv) } /* try to overwrite the source values */ - drmtest_subtest("overwrite-source") { + igt_subtest("overwrite-source") { for (i = 0; i < num_buffers; i++) { set_bo(src[i], i, width, height); set_bo(dst[i], i, width, height); @@ -134,7 +134,7 @@ main(int argc, char **argv) } /* try to read the results before the copy completes */ - drmtest_subtest("early-read") { + igt_subtest("early-read") { for (i = num_buffers; i--; ) set_bo(src[i], 0xdeadbeef, width, height); for (i = 0; i < num_buffers; i++) @@ -144,7 +144,7 @@ main(int argc, char **argv) } /* and finally try to trick the kernel into loosing the pending write */ - drmtest_subtest("gpu-read-after-write") { + igt_subtest("gpu-read-after-write") { for (i = num_buffers; i--; ) set_bo(src[i], 0xabcdabcd, width, height); for (i = 0; i < num_buffers; i++) @@ -155,10 +155,10 @@ main(int argc, char **argv) cmp_bo(dst[i], 0xabcdabcd, width, height); } - drmtest_fork_signal_helper(); + igt_fork_signal_helper(); /* try to read the results before the copy completes */ - drmtest_subtest("overwrite-source-interruptible") { + igt_subtest("overwrite-source-interruptible") { for (loop = 0; loop < 10; loop++) { gem_quiescent_gpu(fd); for (i = 0; i < num_buffers; i++) { @@ -175,7 +175,7 @@ main(int argc, char **argv) } /* try to read the results before the copy completes */ - drmtest_subtest("early-read-interruptible") { + igt_subtest("early-read-interruptible") { for (loop = 0; loop < 10; loop++) { gem_quiescent_gpu(fd); for (i = num_buffers; i--; ) @@ -188,7 +188,7 @@ main(int argc, char **argv) } /* and finally try to trick the kernel into loosing the pending write */ - drmtest_subtest("gpu-read-after-write-interruptible") { + igt_subtest("gpu-read-after-write-interruptible") { for (loop = 0; loop < 10; loop++) { gem_quiescent_gpu(fd); for (i = num_buffers; i--; ) @@ -202,7 +202,7 @@ main(int argc, char **argv) } } - drmtest_stop_signal_helper(); + igt_stop_signal_helper(); return 0; } |