Skip to content

Madvise Tests in IGT

[email protected] igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5include/drm-uap: Added drm_xe_madvise structureinclude/drm-uapi/xe_drm.h+281 -81 reply
2/5lib/xe: Added xe_vm_madvise ioctl supportlib/xe/xe_ioctl.c lib/xe/xe_ioctl.h+60 -14 replies
3/5lib/xe: Helper added to get memory attributeslib/xe/xe_ioctl.c lib/xe/xe_ioctl.h+96 -01 reply
4/5tests/intel/xe_exec_system_allocator: Added preferred_loc_smem testtests/intel/xe_exec_system_allocator.c+187 -382 replies
5/5tests/intel/xe_exec_system_allocator: Added atomic_batch test in IGTtests/intel/xe_exec_system_allocator.c+412 -702 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH i-g-t 0/5] Madvise Tests in IGT

From: Nishit Sharma <[email protected]>

Revision 1:
Added madvise tests in IGT which validate different features related to attributes passed. Madvise tests related to Atomic operation, Preferred Loc have been added and validated. Madvise tests are called as part of different struct section and available as madvise-<test-name> in list of subtests.

ver2:
- added back subtest which was deleted due to rebasing

ver3:
- added variable deleted during rebase.

ver4:
- Removed redundant loop for multi-vma test. Instead added multi-vma check in which is manipulating address, batch addreess only and the remaining execution is done as per default flow.
- Passed region DRM_XE_CONSULT_MEM_ADVISE_PREF_LOC in prefetch tests.

Nishit Sharma (5):
include/drm-uap: Added drm_xe_madvise structure
lib/xe: Added xe_vm_madvise ioctl support
lib/xe: Helper added to get memory attributes tests/intel/xe_exec_system_allocator: Added preferred_loc_smem test tests/intel/xe_exec_system_allocator: Added atomic_batch test in IGT

 include/drm-uapi/xe_drm.h              | 289 ++++++++++-
 lib/xe/xe_ioctl.c                      | 148 ++++++
 lib/xe/xe_ioctl.h                      |   9 +-
 tests/intel/xe_exec_system_allocator.c | 645 ++++++++++++++++++++++---
 4 files changed, 1005 insertions(+), 86 deletions(-)
Signature · 1 line
2.43.0