summaryrefslogtreecommitdiff
path: root/tests/gem_exec_flush.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-06-23 12:31:40 +0100
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2017-07-06 12:29:04 +0100
commitd7a0b61450797a3d6644c65aebf75c2a90da1a15 (patch)
tree1065f8cb799273badfd5062987d8b8a221f44c5a /tests/gem_exec_flush.c
parent8cb5656fd46d4b4d96b85b487a15f6d9c436b104 (diff)
igt: Remove default from the engine list
Default is not an engine but an ABI alias for RCS. Remove it from the engine list to eliminate redundant subtests and test passes. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Acked-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'tests/gem_exec_flush.c')
-rw-r--r--tests/gem_exec_flush.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/gem_exec_flush.c b/tests/gem_exec_flush.c
index 803d45b6..a4d02a5c 100644
--- a/tests/gem_exec_flush.c
+++ b/tests/gem_exec_flush.c
@@ -607,17 +607,17 @@ igt_main
for (const struct batch *b = batches; b->name; b++) {
igt_subtest_f("%sbatch-%s-%s-uc",
- b == batches && e->exec_id == 0 ? "basic-" : "",
+ b == batches && igt_is_basic(e) ? "basic-" : "",
b->name,
e->name)
batch(fd, ring, ncpus, timeout, b->mode, 0);
igt_subtest_f("%sbatch-%s-%s-wb",
- b == batches && e->exec_id == 0 ? "basic-" : "",
+ b == batches && igt_is_basic(e) ? "basic-" : "",
b->name,
e->name)
batch(fd, ring, ncpus, timeout, b->mode, COHERENT);
igt_subtest_f("%sbatch-%s-%s-cmd",
- b == batches && e->exec_id == 0 ? "basic-" : "",
+ b == batches && igt_is_basic(e) ? "basic-" : "",
b->name,
e->name)
batch(fd, ring, ncpus, timeout, b->mode,
@@ -626,7 +626,7 @@ igt_main
for (const struct mode *m = modes; m->name; m++) {
igt_subtest_f("%suc-%s-%s",
- (m->flags & BASIC && e->exec_id == 0) ? "basic-" : "",
+ (m->flags & BASIC && igt_is_basic(e)) ? "basic-" : "",
m->name,
e->name)
run(fd, ring, ncpus, timeout,
@@ -639,7 +639,7 @@ igt_main
UNCACHED | m->flags | INTERRUPTIBLE);
igt_subtest_f("%swb-%s-%s",
- e->exec_id == 0 ? "basic-" : "",
+ igt_is_basic(e) ? "basic-" : "",
m->name,
e->name)
run(fd, ring, ncpus, timeout,