summaryrefslogtreecommitdiff
path: root/tests/gem_ctx_switch.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-07-06 14:01:56 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-07-06 14:01:56 +0100
commitec91c56e2a480ce469e9f7d5a184c131442bf65a (patch)
treefac00ab4f1c131b47b11085f7db9b4f6857632d4 /tests/gem_ctx_switch.c
parentbe87623bc6ce7262a710d4b80431c8bbc16d0a74 (diff)
Revert "igt: Remove default from the engine list"
This reverts commit d7a0b61450797a3d6644c65aebf75c2a90da1a15.
Diffstat (limited to 'tests/gem_ctx_switch.c')
-rw-r--r--tests/gem_ctx_switch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_ctx_switch.c b/tests/gem_ctx_switch.c
index c559e2cd..b6ea71cf 100644
--- a/tests/gem_ctx_switch.c
+++ b/tests/gem_ctx_switch.c
@@ -163,9 +163,9 @@ igt_main
}
for (e = intel_execution_engines; e->name; e++) {
- igt_subtest_f("%s%s", igt_is_basic(e) ? "basic-" : "", e->name)
+ igt_subtest_f("%s%s", e->exec_id == 0 ? "basic-" : "", e->name)
single(fd, light, e, 0, 1, 5);
- igt_subtest_f("%s%s-heavy", igt_is_basic(e) ? "basic-" : "", e->name)
+ igt_subtest_f("%s%s-heavy", e->exec_id == 0 ? "basic-" : "", e->name)
single(fd, heavy, e, 0, 1, 5);
igt_subtest_f("%s-interruptible", e->name)
single(fd, light, e, INTERRUPTIBLE, 1, 150);