summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-08-19 18:15:04 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-08-19 18:16:11 +0100
commit55b8c33ca50ce82393f99fb4412aaaed17f010fb (patch)
tree01043c18ae739e2186781de759cd71db4f315b92 /tests
parent34198b801ebca69fba654c8d1e011acea45b778c (diff)
overlay: Auatomatically mount debugfs
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_ctx_bad_exec.c2
-rw-r--r--tests/gem_dummy_reloc_loop.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/gem_ctx_bad_exec.c b/tests/gem_ctx_bad_exec.c
index 348b2f8f..68b74af2 100644
--- a/tests/gem_ctx_bad_exec.c
+++ b/tests/gem_ctx_bad_exec.c
@@ -106,8 +106,10 @@ int main(int argc, char *argv[])
igt_assert(exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0);
igt_subtest("blt")
igt_assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0);
+#ifdef I915_EXEC_VEBOX
igt_subtest("vebox")
igt_assert(exec(fd, handle, I915_EXEC_VEBOX, ctx_id) != 0);
+#endif
igt_exit();
}
diff --git a/tests/gem_dummy_reloc_loop.c b/tests/gem_dummy_reloc_loop.c
index 651703bf..73eab895 100644
--- a/tests/gem_dummy_reloc_loop.c
+++ b/tests/gem_dummy_reloc_loop.c
@@ -173,6 +173,7 @@ int main(int argc, char **argv)
printf("dummy loop run on blt completed\n");
}
+#ifdef I915_EXEC_VEBOX
igt_subtest("vebox") {
gem_require_ring(fd, I915_EXEC_VEBOX);
sleep(2);
@@ -180,6 +181,7 @@ int main(int argc, char **argv)
dummy_reloc_loop(LOCAL_I915_EXEC_VEBOX);
printf("dummy loop run on vebox completed\n");
}
+#endif
igt_subtest("mixed") {
if (num_rings > 1) {