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

Signed-off-by: Jonathan Cavitt <[email protected]>
Suggested-by: Joonas Lahtinen <[email protected]>
Suggested-by: Matthew Brost <[email protected]>
Suggested-by: Zhang Jianxun <[email protected]>
Suggested-by: Stuart Summers <[email protected]>
CC: Shuicheng Lin <[email protected]>

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

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

-- 
2.43.0

Reply via email to