All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Sokolowski <jan.sokolowski@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: "Jan Sokolowski" <jan.sokolowski@intel.com>,
	"Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>,
	"Kamil Konieczny" <kamil.konieczny@linux.intel.com>,
	"Katarzyna Piecielska" <katarzyna.piecielska@intel.com>,
	"Maciej Patelczyk" <maciej.patelczyk@intel.com>,
	"Jan Maslak" <jan.maslak@intel.com>,
	"Christoph Manszewski" <christoph.manszewski@intel.com>,
	"Dominik Karol Piątkowski" <dominik.karol.piatkowski@intel.com>,
	"Himanshu Girotra" <himanshu.girotra@intel.com>
Subject: [PATCH i-g-t 1/1] tests/xe_eudebug: wait a little for shader to write all values
Date: Mon,  9 Mar 2026 12:47:27 +0100	[thread overview]
Message-ID: <20260309114727.649473-1-jan.sokolowski@intel.com> (raw)

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


             reply	other threads:[~2026-03-09 11:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-09 11:47 Jan Sokolowski [this message]
2026-03-09 18:28 ` ✓ Xe.CI.BAT: success for series starting with [i-g-t,1/1] tests/xe_eudebug: wait a little for shader to write all values 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260309114727.649473-1-jan.sokolowski@intel.com \
    --to=jan.sokolowski@intel.com \
    --cc=christoph.manszewski@intel.com \
    --cc=dominik.karol.piatkowski@intel.com \
    --cc=himanshu.girotra@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jan.maslak@intel.com \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=katarzyna.piecielska@intel.com \
    --cc=maciej.patelczyk@intel.com \
    --cc=zbigniew.kempczynski@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.