Skip to content

tests/intel/xe_compute_preempt: GPU Compatibility check

Sobin Thomas igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 1 replyIn review
  2. v11 patch 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1tests/intel/xe_compute_preempt: GPU Compatibility checklib/intel_compute.c lib/intel_compute.h tests/intel/xe_compute_preempt.c+30 -181 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 i-g-t 0/1] tests/intel/xe_compute_preempt: GPU Compatibility check

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