Skip to content

tests/intel/xe_compute_preempt: Compute preemption check

Sobin Thomas igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1tests/intel/xe_compute_preempt: Compute preemption checklib/intel_compute.c lib/intel_compute.h tests/intel/xe_compute_preempt.c+57 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH i-g-t 0/1] tests/intel/xe_compute_preempt: Compute preemption check

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(-)
Signature · 1 line
2.34.1