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

On platforms (like PVC) 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. Made changes to
perform kernel preemption check at the beginning of each subtests.
If the GPU version does not support the required features, the
test is skipped gracefully, ensuring consistent behavior across
different platforms.

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

v3: Added check for thread group preemption and WMTP.
    Added enum flags for preemption type as per review . [Zbigniew]

v4: Added check for preempt inside __run_intel_compute_kernel_preempt.
    Refactored the code into functions.

Sobin Thomas (1):
  tests/intel/xe_compute_preempt: Compute preemption check

 lib/intel_compute.c              | 50 ++++++++++++++++++++++++++++----
 lib/intel_compute.h              |  7 +++++
 tests/intel/xe_compute_preempt.c |  6 ++++
 3 files changed, 57 insertions(+), 6 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-09-15  8:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-15  5:31 [PATCH i-g-t 0/1] tests/intel/xe_compute_preempt: Compute preemption check Sobin Thomas
2025-09-15  5:31 ` [PATCH i-g-t 1/1] " Sobin Thomas
2025-09-15  8:09   ` Zbigniew Kempczyński
2025-09-15  6:33 ` ✓ Xe.CI.BAT: success for tests/intel/xe_compute_preempt: Compute preemption check (rev2) Patchwork
2025-09-15  6:39 ` ✓ i915.CI.BAT: " Patchwork
2025-09-15  8:13 ` ✗ Xe.CI.Full: failure " Patchwork
2025-09-15  8:44 ` ✓ i915.CI.Full: success " 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.