summaryrefslogtreecommitdiff
path: root/tests/gem_exec_parallel.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-04-08 13:51:30 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-04-08 13:53:34 +0100
commitf0f6f8f3b7413f75b1d7738baa13a71d3fe867f2 (patch)
tree63aafcf415e3f2beb157c19bd757db29bb2503a2 /tests/gem_exec_parallel.c
parentb1da8d89c8d13e3f0254d69c639c7f66c10e4175 (diff)
igt/gem_exec_parallel: Can't run fds test on gen5
gen4/5 require a master device to use the secure dispatch facility to use MI_STORE_DWORD -- which is only available to a single fd and so we can not execute in parallel across multiple fds, so skip those tests. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_exec_parallel.c')
-rw-r--r--tests/gem_exec_parallel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gem_exec_parallel.c b/tests/gem_exec_parallel.c
index baed76ab..8955868f 100644
--- a/tests/gem_exec_parallel.c
+++ b/tests/gem_exec_parallel.c
@@ -196,6 +196,9 @@ static void all(int fd, unsigned engine, unsigned flags)
if (flags & CONTEXTS)
gem_require_context(fd);
+ if (flags & FDS)
+ igt_require(gen > 5);
+
nengine = 0;
if (engine == -1) {
for_each_engine(fd, engine) {