Skip to content

tests/intel/xe_vm: Add drm_xe_vm_get_property tests

Jonathan Cavitt igt-dev 9 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest4 patches 0 repliesNew
  2. v84 patches 3 repliesSuperseded
  3. v74 patches 6 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v64 patches0 repliesSuperseded
v54 patches0 repliesSuperseded
v44 patches0 repliesSuperseded
v34 patches0 repliesSuperseded
v24 patches0 repliesSuperseded
v14 patches0 repliesSuperseded

Changes in v9 from the cover letter

- Fix commit message (Kamil)
- Add missing invalid extensions and pad tests (Auld)

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm-uapi/xe: Declare xe_vm_get_property_ioctlinclude/drm-uapi/xe_drm.h+86 -00 replies
2/4lib/xe/xe_ioctl: Add xe_vm_get_property helper functionlib/xe/xe_ioctl.c lib/xe/xe_ioctl.h+6 -00 replies
3/4tests/intel/xe_vm: Add DRM_IOCTL_XE_VM_GET_PROPERTY validation teststests/intel/xe_vm.c+109 -00 replies
4/4tests/intel/xe_vm: Test DRM_IOCTL_XE_VM_GET_PROPERTY fault reportingtests/intel/xe_vm.c+156 -00 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchNishit Sharma
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH v9 0/4] tests/intel/xe_vm: Add drm_xe_vm_get_property tests

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.

v2:
- Remove engine class and instance (Ivan)

v3:
- Add declares for fault type, access type, and fault level (Matt Brost, Ivan)

v4:
- Make vm creation consistent between patches (jcavitt)
- s/pageproperty/pagefaults

v5:
- Rebase
- Use correct ID for ioctl

v6:
- Rebase

v7:
- Clarify canonicity of fault address
- Use xe_vm_get_property in test

v8:
- Fix checkpatch issue - extra space in line (Sharma)

v9:
- Fix commit message (Kamil)
- Add missing invalid extensions and pad tests (Auld)

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 |  86 +++++++++++++
 lib/xe/xe_ioctl.c         |   5 +
 lib/xe/xe_ioctl.h         |   1 +
 tests/intel/xe_vm.c       | 265 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 357 insertions(+)
Signature · 1 line
2.43.0