All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/1] tests/xe_eudebug: wait a little for shader to write all values
@ 2026-03-09 11:47 Jan Sokolowski
  2026-03-09 18:28 ` ✓ Xe.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jan Sokolowski @ 2026-03-09 11:47 UTC (permalink / raw)
  To: igt-dev
  Cc: Jan Sokolowski, Zbigniew Kempczyński, Kamil Konieczny,
	Katarzyna Piecielska, Maciej Patelczyk, Jan Maslak,
	Christoph Manszewski, Dominik Karol Piątkowski,
	Himanshu Girotra

Add a sleep(1) in vm_bind_clear_test_trigger so that
vm-bind-clear-thread has time to properly clear the memory.

Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Maciej Patelczyk <maciej.patelczyk@intel.com>
Cc: Jan Maslak <jan.maslak@intel.com>
Cc: Christoph Manszewski <christoph.manszewski@intel.com>
Cc: Dominik Karol Piątkowski <dominik.karol.piatkowski@intel.com>
Cc: Himanshu Girotra <himanshu.girotra@intel.com>
---
 tests/intel/xe_eudebug.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/intel/xe_eudebug.c b/tests/intel/xe_eudebug.c
index 134f31766..55b5931b3 100644
--- a/tests/intel/xe_eudebug.c
+++ b/tests/intel/xe_eudebug.c
@@ -2435,6 +2435,8 @@ static void vm_bind_clear_test_trigger(struct xe_eudebug_debugger *d,
 			igt_assert_lte(0, fd);
 
 			delta = (random() % eo->range) & -4;
+			/* Let's wait a little so that all values are written ok */
+			sleep(1);
 			r = pread(fd, &v, sizeof(v), eo->addr + delta);
 			igt_assert_eq(r, sizeof(v));
 			igt_assert_eq_u32(v, 0);
-- 
2.43.0


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

end of thread, other threads:[~2026-03-10  2:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09 11:47 [PATCH i-g-t 1/1] tests/xe_eudebug: wait a little for shader to write all values Jan Sokolowski
2026-03-09 18:28 ` ✓ Xe.CI.BAT: success for series starting with [i-g-t,1/1] " Patchwork
2026-03-09 18:43 ` ✓ i915.CI.BAT: " Patchwork
2026-03-09 23:16 ` ✓ Xe.CI.FULL: " Patchwork
2026-03-10  2:45 ` ✗ i915.CI.Full: failure " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.