Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/i915/gem_exec_nop: Resolve missing context id in sequential test
@ 2021-08-26  6:27 Arjun Melkaveri
  2021-08-26  6:44 ` Ch, Sai Gowtham
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Arjun Melkaveri @ 2021-08-26  6:27 UTC (permalink / raw)
  To: arjun.melkaveri, igt-dev

Resolved missing context id in exec buf, for sequential test. 
This was due to context mutation changes that was implemeted in gem_exec_nop. 

Signed-off-by: Arjun Melkaveri <arjun.melkaveri@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 tests/i915/gem_exec_nop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_exec_nop.c b/tests/i915/gem_exec_nop.c
index 09a0c29e..c435335b 100644
--- a/tests/i915/gem_exec_nop.c
+++ b/tests/i915/gem_exec_nop.c
@@ -749,6 +749,7 @@ static void sequential(int fd, uint32_t handle,
 	execbuf.buffer_count = 2;
 	execbuf.flags |= I915_EXEC_HANDLE_LUT;
 	execbuf.flags |= I915_EXEC_NO_RELOC;
+	execbuf.rsvd1 = ctx->id;
 	igt_require(__gem_execbuf(fd, &execbuf) == 0);
 
 	if (flags & CONTEXT) {
-- 
2.25.1

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

end of thread, other threads:[~2021-08-26 17:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-26  6:27 [igt-dev] [PATCH i-g-t] tests/i915/gem_exec_nop: Resolve missing context id in sequential test Arjun Melkaveri
2021-08-26  6:44 ` Ch, Sai Gowtham
2021-08-26  7:23 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-08-26 12:55 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-08-26 17:47 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh

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