All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 i-g-t 0/1] tests/intel/xe_compute_preempt: GPU Compatibility check
@ 2025-09-08 17:14 Sobin Thomas
  2025-09-08 17:14 ` [PATCH v2 i-g-t 1/1] " Sobin Thomas
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Sobin Thomas @ 2025-09-08 17:14 UTC (permalink / raw)
  To: igt-dev; +Cc: zbigniew.kempczynski, priyanka.dandamudi, Sobin Thomas

On platforms that do not support walker mid-thread preemption, running
tests in forked threads can lead to inconsistent states due to
igt_skip being called mid-execution. This patch introduces a GPU
compatibility check at the beginning of the xe_compute_preempt test.
If the GPU version does not support the required features, the
entire test is skipped gracefully, ensuring consistent behavior across
platforms.

v2: Fixed review comments to move the compatibility check
    into the igt_fixture.

Sobin Thomas (1):
  tests/intel/xe_compute_preempt: GPU Compatibility check

 lib/intel_compute.c              | 45 +++++++++++++++++++-------------
 lib/intel_compute.h              |  1 +
 tests/intel/xe_compute_preempt.c |  1 +
 3 files changed, 29 insertions(+), 18 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-09-09 18:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08 17:14 [PATCH v2 i-g-t 0/1] tests/intel/xe_compute_preempt: GPU Compatibility check Sobin Thomas
2025-09-08 17:14 ` [PATCH v2 i-g-t 1/1] " Sobin Thomas
2025-09-09  7:40   ` Zbigniew Kempczyński
2025-09-09  3:11 ` ✓ i915.CI.BAT: success for tests/intel/xe_compute_preempt: GPU Compatibility check (rev2) Patchwork
2025-09-09  3:19 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-09 12:05 ` ✗ Xe.CI.Full: failure " Patchwork
2025-09-09 18:40 ` ✗ i915.CI.Full: " 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.