public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/2] test/i915: gem_ctx_exec: Fix for using context engine map
@ 2019-11-19 11:01 Venkata Sandeep Dhanalakota
  2019-11-19 11:01 ` [igt-dev] [PATCH i-g-t 2/2] test/i915: gem_exec_parallel: " Venkata Sandeep Dhanalakota
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Venkata Sandeep Dhanalakota @ 2019-11-19 11:01 UTC (permalink / raw)
  To: igt-dev

Since engines are now looked up based on context engine map,
context should be setup with engines before using in execbuf.

Fixes: 1a7f2e59 igt("gem_ctx_exec: use the gem_engine_topology"

Cc: Andi Shyti <andi.shyti@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
---
 tests/i915/gem_ctx_exec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_ctx_exec.c b/tests/i915/gem_ctx_exec.c
index 6c2cd922..2bf47cf2 100644
--- a/tests/i915/gem_ctx_exec.c
+++ b/tests/i915/gem_ctx_exec.c
@@ -132,6 +132,7 @@ static void invalid_context(int fd, const struct intel_execution_engine2 *e,
 	gem_execbuf(fd, &execbuf);
 
 	ctx = gem_context_create(fd);
+	gem_context_set_all_engines(fd, ctx);
 	i915_execbuffer2_set_context_id(execbuf, ctx);
 	gem_execbuf(fd, &execbuf);
 
-- 
2.21.0.5.gaeb582a983

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-11-20 15:22 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-19 11:01 [igt-dev] [PATCH i-g-t 1/2] test/i915: gem_ctx_exec: Fix for using context engine map Venkata Sandeep Dhanalakota
2019-11-19 11:01 ` [igt-dev] [PATCH i-g-t 2/2] test/i915: gem_exec_parallel: " Venkata Sandeep Dhanalakota
2019-11-19 11:11   ` Chris Wilson
2019-11-19 11:22     ` Tvrtko Ursulin
2019-11-19 11:36       ` Chris Wilson
2019-11-19 18:47         ` Venkata Sandeep Dhanalakota
2019-11-20  9:13         ` Tvrtko Ursulin
2019-11-20  9:35           ` Chris Wilson
2019-11-20 10:18             ` Tvrtko Ursulin
2019-11-20 15:22               ` Venkata Sandeep Dhanalakota
2019-11-19 11:16   ` Tvrtko Ursulin
2019-11-19 11:08 ` [igt-dev] [PATCH i-g-t 1/2] test/i915: gem_ctx_exec: " Chris Wilson
2019-11-19 11:24   ` Tvrtko Ursulin
2019-11-19 11:35     ` Chris Wilson
2019-11-19 11:41       ` Tvrtko Ursulin
2019-11-19 11:15 ` Tvrtko Ursulin
2019-11-19 11:57 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2019-11-19 16:40 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox