[igt-dev] [PATCH i-g-t 1/1] tests/i915/gem_exec_parallel: Set engine map to default context
Sreedhar Telukuntla
sreedhar.telukuntla at intel.com
Fri Jan 17 14:39:36 UTC 2020
All the *-fds tests are using default kernel context for submitting
the workload to gpu. As CCS0 is not supported in legacy exec flow,
CCS0-fds is failing with error -22. Set the supported engine map to
default context to allow the workload submission to CCS engine.
Signed-off-by: Sreedhar Telukuntla <sreedhar.telukuntla at intel.com>
---
tests/i915/gem_exec_parallel.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/i915/gem_exec_parallel.c b/tests/i915/gem_exec_parallel.c
index 56b26cf4..31cd33b0 100644
--- a/tests/i915/gem_exec_parallel.c
+++ b/tests/i915/gem_exec_parallel.c
@@ -130,6 +130,8 @@ static void *thread(void *data)
execbuf.rsvd1 = gem_context_create(fd);
gem_context_set_all_engines(fd, execbuf.rsvd1);
}
+ if (t->gen & FDS)
+ gem_context_set_all_engines(fd, 0);
for (i = 0; i < 16; i++) {
obj[0].handle = t->scratch[i];
--
2.24.1
More information about the igt-dev
mailing list