[PATCH i-g-t v5 0/6] Xe: Add tests for PXP

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Wed Mar 5 23:39:41 UTC 2025


Given that PXP introduces new interfaces and behaviors, we need to
update existing IGTs and add new ones to cover all the new scenarios.

Minor changes have been done to common functions to propagate the
PXP info and error returns.

v3: part of the v2 series has been split off and merged (see [1]) to
allow the kernel side to be merged without IGT failures. This is rebased
on top of that and addresses the review comments on v2 on the remaining
patches.

v4: fix termination test fixtures

v5: turn off display before running the RPM test, add documentation to
lib functions

[1] https://patchwork.freedesktop.org/series/144158/
Cc: John Harrison <John.C.Harrison at Intel.com>
Cc: Alan Previn <alan.previn.teres.alexis at intel.com>

Daniele Ceraolo Spurio (6):
  tests/intel/xe_vm: Update invalid flag subtest with valid PXP flag
  tests/intel/xe_query: Add test for PXP status query
  tests/intel/xe_pxp: Add PXP object and queue creation tests
  tests/intel/xe_pxp: Test PXP submissions
  tests/intel/xe_pxp: Termination tests
  tests/intel/xe_pxp: Test encrypted FBs

 lib/intel_batchbuffer.c |   62 +-
 lib/intel_batchbuffer.h |    1 +
 lib/xe/xe_ioctl.c       |   49 +-
 lib/xe/xe_ioctl.h       |    4 +-
 tests/intel/xe_mmap.c   |    1 +
 tests/intel/xe_pxp.c    | 1222 +++++++++++++++++++++++++++++++++++++++
 tests/intel/xe_query.c  |   61 ++
 tests/intel/xe_vm.c     |   23 +
 tests/meson.build       |    1 +
 9 files changed, 1403 insertions(+), 21 deletions(-)
 create mode 100644 tests/intel/xe_pxp.c

-- 
2.43.0



More information about the igt-dev mailing list