public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/xe_exec_threads: Initializing exec_threads array
@ 2026-03-03  6:31 nakshtra.goyal
  2026-03-03  8:38 ` Dandamudi, Priyanka
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: nakshtra.goyal @ 2026-03-03  6:31 UTC (permalink / raw)
  To: igt-dev; +Cc: adam.miszczak, matthew.brost

From: Nakshtra Goyal <nakshtra.goyal@intel.com>

Initialising exec_threads array to zero as threads-many-queues test
fails on initial check to non_zero condition , it takes garbage
value(non-zero) on first iteration , which call synobj_wait on a
synobj that was never signalled.

Signed-off-by: Nakshtra Goyal <nakshtra.goyal@intel.com>
---
 tests/intel/xe_exec_threads.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/intel/xe_exec_threads.c b/tests/intel/xe_exec_threads.c
index 27d5a8928..f082a0eda 100644
--- a/tests/intel/xe_exec_threads.c
+++ b/tests/intel/xe_exec_threads.c
@@ -502,7 +502,7 @@ test_legacy_mode(int fd, uint32_t vm, uint64_t addr, uint64_t userptr,
 		.num_syncs = 2,
 		.syncs = to_user_pointer(sync),
 	};
-	uint32_t exec_queues[MAX_N_EXEC_QUEUES];
+	uint32_t exec_queues[MAX_N_EXEC_QUEUES] = {};
 	uint32_t bind_exec_queues[MAX_N_EXEC_QUEUES];
 	uint32_t syncobjs[MAX_N_EXEC_QUEUES];
 	size_t bo_size;
-- 
2.34.1


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

end of thread, other threads:[~2026-03-05  4:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-03  6:31 [PATCH i-g-t] tests/intel/xe_exec_threads: Initializing exec_threads array nakshtra.goyal
2026-03-03  8:38 ` Dandamudi, Priyanka
2026-03-05  4:53   ` Dandamudi, Priyanka
2026-03-03 23:58 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-03-04  0:13 ` ✓ i915.CI.BAT: " Patchwork
2026-03-04  6:13 ` [PATCH i-g-t] " Adam Miszczak
2026-03-04 16:28 ` ✗ Xe.CI.FULL: failure for " Patchwork
2026-03-04 20:41 ` ✗ i915.CI.Full: " Patchwork

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