summaryrefslogtreecommitdiff
path: root/tests/gem_exec_flush.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-05-06 09:06:49 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-05-06 09:24:30 +0100
commit5f7835c878735ee78df680d46a66a70eecd90210 (patch)
tree92da47e79f176bcf0a9e584b7c232093147f3efa /tests/gem_exec_flush.c
parentb4b2ac346c92fcfad9bc33ff6cc27849ce6240bc (diff)
igt/gem_exec_flush: Restrict BAT batch testing
Only do one mode of batch writing for BAT, and hope that is sufficient to route out all the coherency problems when doing the cmdparser and when not. We still have the full set for non-BAT, just less of a smokescreen. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_exec_flush.c')
-rw-r--r--tests/gem_exec_flush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gem_exec_flush.c b/tests/gem_exec_flush.c
index 8bc586cb..c12b51b7 100644
--- a/tests/gem_exec_flush.c
+++ b/tests/gem_exec_flush.c
@@ -474,17 +474,17 @@ igt_main
for (const struct batch *b = batches; b->name; b++) {
igt_subtest_f("%sbatch-%s-%s-uc",
- e->exec_id == 0 ? "basic-" : "",
+ b == batches && e->exec_id == 0 ? "basic-" : "",
b->name,
e->name)
batch(fd, ring, ncpus, timeout, b->mode, 0);
igt_subtest_f("%sbatch-%s-%s-wb",
- e->exec_id == 0 ? "basic-" : "",
+ b == batches && e->exec_id == 0 ? "basic-" : "",
b->name,
e->name)
batch(fd, ring, ncpus, timeout, b->mode, COHERENT);
igt_subtest_f("%sbatch-%s-%s-cmd",
- e->exec_id == 0 ? "basic-" : "",
+ b == batches && e->exec_id == 0 ? "basic-" : "",
b->name,
e->name)
batch(fd, ring, ncpus, timeout, b->mode,