[PATCH 0/4] tests/intel/xe_vm: Add drm_xe_vm_get_faults tests

Jonathan Cavitt jonathan.cavitt at intel.com
Mon Mar 10 21:03:39 UTC 2025


Add tests that exercise the new drm_xe_vm_get_faults uapi, specifically
for ioctl input validation and for determining that pagefaults are
correctly tracked and returned by the reporter.

Signed-off-by: Jonathan Cavitt <joanthan.cavitt at intel.com>
Suggested-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Suggested-by: Matthew Brost <matthew.brost at intel.com>
CC: Zhang Jianxun <jianxun.zhang at intel.com>
CC: Shuicheng Lin <shuicheng.lin at intel.com>

Jonathan Cavitt (4):
  drm-uapi/xe: Declare xe_vm_get_faults_ioctl
  lib/xe/xe_ioctl: Add xe_vm_get_faults helper function
  tests/intel/xe_vm: Add DRM_IOCTL_XE_VM_GET_FAULTS validation tests
  tests/intel/xe_vm: Test DRM_IOCTL_XE_VM_GET_FAULTS fault reporting

 include/drm-uapi/xe_drm.h |  49 ++++++++
 lib/xe/xe_ioctl.c         |   5 +
 lib/xe/xe_ioctl.h         |   1 +
 tests/intel/xe_vm.c       | 256 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 311 insertions(+)

-- 
2.43.0



More information about the igt-dev mailing list