Skip to content

Madvise feature in SVM for Multi-GPU configs

[email protected] igt-dev 17 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v14 Latest11 patches 2 repliesIn review
  2. v1311 patches 3 repliesSuperseded
  3. v1210 patches 2 repliesSuperseded
Earlier versions · 14
VersionPostedPatchesRepliesStatus
v1110 patches5 repliesSuperseded
v1010 patches4 repliesSuperseded
v9 posting 2/210 patches13 repliesSuperseded
v9 posting 1/210 patches13 repliesSuperseded
v810 patches24 repliesSuperseded
v7 posting 3/310 patches2 repliesSuperseded
v7 posting 2/310 patches0 repliesSuperseded
v7 posting 1/310 patches20 repliesSuperseded
v58 patches4 repliesSuperseded
v4 posting 2/23 of 8 patches0 repliesSuperseded
v4 posting 1/27 patches1 replySuperseded
v37 patches0 repliesSuperseded
v26 of 7 patches0 repliesSuperseded
v17 patches2 repliesSuperseded

Patches in v14 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11drm-uapi/xe: Sync with madvise interfaceinclude/drm-uapi/xe_drm.h+19 -71 reply
2/11lib/xe: Add instance parameter to xe_vm_madviselib/xe/xe_ioctl.c lib/xe/xe_ioctl.h tests/intel/xe_exec_system_allocator.c+20 -100 replies
3/11lib/xe: Add synchronous helpers for VM bind/unbind operationslib/xe/xe_ioctl.c+39 -00 replies
4/11tests/intel/xe_multigpu_svm: Add SVM multi-GPU xGPU memory access testtests/intel/xe_multigpu_svm.c tests/meson.build+405 -10 replies
5/11tests/intel/xe_multigpu_svm: Add SVM multi-GPU atomic operationstests/intel/xe_multigpu_svm.c+204 -20 replies
6/11tests/intel/xe_multigpu_svm: Add SVM multi-GPU coherency testtests/intel/xe_multigpu_svm.c+217 -00 replies
7/11tests/intel/xe_multigpu_svm: Add SVM multi-GPU performance testtests/intel/xe_multigpu_svm.c+244 -20 replies
8/11tests/intel/xe_multigpu_svm: Add SVM multi-GPU fault handling testtests/intel/xe_multigpu_svm.c+145 -01 reply
9/11tests/intel/xe_multigpu_svm: Add SVM multi-GPU simultaneous access testtests/intel/xe_multigpu_svm.c+193 -00 replies
10/11tests/intel/xe_multigpu_svm: Add SVM multi-GPU conflicting madvise testtests/intel/xe_multigpu_svm.c+51 -230 replies
11/11tests/intel/xe_multigpu_svm: Add SVM multi-GPU migration testtests/intel/xe_multigpu_svm.c+122 -00 replies

Reviews trailers per patch

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

PatchPravalika GurramThomas HellströmSai Gowtham Ch
1/11R-b R-b
2/11R-b R-b
3/11R-b R-b
4/11R-b R-b
5/11R-b R-b
6/11R-b A-b
7/11R-b A-b
8/11R-b A-b R-b
9/11R-b R-b
10/11R-b A-b
11/11R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v14 thread

Cover letter [PATCH i-g-t v14 00/11] Madvise feature in SVM for Multi-GPU configs

From: Nishit Sharma <[email protected]>

This patch series adds comprehensive SVM multi-GPU IGT test coverage for madvise and prefetch functionality.

ver2:
- Test name changed in commits
- In patchwork v1 patch is missing due to last patch was not sent

ver3:
- In patch-7 tags were added and it was not sent on patchwork

ver4:
- In patch file was added which is not available in source which caused CI build failure.

ver5:
- Added subtest function wrappers
- Subtests executing for all GPUs enumerated

ver7:
- Optimized function calling which are frequenctly called
- Incorporated review comments (Thomas Hellstrom)

ver8:
- Incorporated review comments (Thomas Hellstrom)
- Seperated madvise and lr_sync patches
- merged added 0 as instance parameter in xe_vm_madvise() call in xe_exec_system_allocator with xe_vm_madvise lib changes
- Subtests declared in const struct section[] and optimized
- All subtests executed with and without prefetch

ver9:
- Incorporated review comments (Pravalika, Thomas)
- Optimized code. Multiple same function called put in single function
- Added READ_ONCE/WRITE_once instead dereferecing.

ver10:
- Incorporated review comments (Thomas)

ver11:
- Incorporated review comments (Thomas)
- For conflict madvise case instead assertion added conditon

ver12:
- Incorporated review comments (Thomas)

ver13:
- Created seprate commit for drm/xe/uapi aligned with KMD

ver14:
- replaced igt_warn with igt_debug to avoid unnecessary CI run warnings

Nishit Sharma (11):
drm-uapi/xe: Sync with madvise interface
lib/xe: Add instance parameter to xe_vm_madvise
lib/xe: Add synchronous helpers for VM bind/unbind operations tests/intel/xe_multigpu_svm: Add SVM multi-GPU xGPU memory access test tests/intel/xe_multigpu_svm: Add SVM multi-GPU atomic operations tests/intel/xe_multigpu_svm: Add SVM multi-GPU coherency test tests/intel/xe_multigpu_svm: Add SVM multi-GPU performance test tests/intel/xe_multigpu_svm: Add SVM multi-GPU fault handling test tests/intel/xe_multigpu_svm: Add SVM multi-GPU simultaneous access
test
tests/intel/xe_multigpu_svm: Add SVM multi-GPU conflicting madvise
test
tests/intel/xe_multigpu_svm: Add SVM multi-GPU migration test

 include/drm-uapi/xe_drm.h              |   26 +-
 lib/xe/xe_ioctl.c                      |   52 +-
 lib/xe/xe_ioctl.h                      |    9 +-
 tests/intel/xe_exec_system_allocator.c |    8 +-
 tests/intel/xe_multigpu_svm.c          | 1552 ++++++++++++++++++++++++
 tests/meson.build                      |    3 +-
 6 files changed, 1632 insertions(+), 18 deletions(-)
 create mode 100644 tests/intel/xe_multigpu_svm.c
Signature · 1 line
2.48.1