[PATCH i-g-t v2 00/10] helper function

Bommu Krishnaiah krishnaiah.bommu at intel.com
Tue May 14 07:10:16 UTC 2024


Introduce helper functions for object creation, binding, submission,
and destruction, applicable for SVM and other tests

xe-basic test is validating the helper function introduced in 'lib/xe/xe_util: helper function'

svm test cases:
svm-basic-malloc
svm-basic-mmap
svm-random-access
svm-huge-page
svm-atomic-access
svm-atomic-access
svm_invalid_va
svm-mprotect
svm-benchmark
svm-sparse-access

svm kernel implimentation:
https://gitlab.freedesktop.org/oak/xe-kernel-driver-svm.git
branch: origin/drm-xe-next-svm-unify-userptr


Bommu Krishnaiah (10):
  lib/xe/xe_util: Introduce helper functions for buffer creation and
    command submission etc
  tests/intel/xe_svm: basic xe_svm test
  tests/xe_svm: basic svm test
  tests/intel/xe_svm: svm_random_access
  tests/intel/xe_svm: svm-huge-page
  tests/intel/xe_svm: svm_atomic_access
  tests/intel/xe_svm: svm-invalid-va
  tests/intel/xe_svm: svm_benchmark
  tests/intel/xe_svm: svm_mprotect
  tests/intel/xe_svm: svm-sparse-access

 include/drm-uapi/xe_drm.h |   2 +
 lib/xe/xe_util.c          | 186 +++++++++++++++++
 lib/xe/xe_util.h          |  40 ++++
 tests/intel/xe_svm.c      | 427 ++++++++++++++++++++++++++++++++++++++
 tests/meson.build         |   1 +
 5 files changed, 656 insertions(+)
 create mode 100644 tests/intel/xe_svm.c

-- 
2.25.1



More information about the igt-dev mailing list