[PATCH RFC i-g-t 0/2] helper function
Bommu Krishnaiah
krishnaiah.bommu at intel.com
Tue Apr 30 18:27:45 UTC 2024
Introduce helper functions for object creation, binding, submission,
and destruction, applicable for SVM and other tests
xe_svm test is validating the helper function introduced in 'lib/xe/xe_util: helper function'
In this test I haven’t included the svm functionality, next patch I will include svm functionality
Test results
root at DUT7032PVCMella:/home/gta/xe/new/igt-gpu-tools# ./build/tests/xe_svm
IGT-Version: 1.28-g365f81646 (x86_64) (Linux: 6.8.0-rc5-xedrmtip+ x86_64)
Using IGT_SRANDOM=1714498247 for randomisation
Opened device: /dev/dri/card1
Starting subtest: svm-basic-malloc
Subtest svm-basic-malloc: SUCCESS (0.022s)
Signed-off-by: Bommu Krishnaiah <krishnaiah.bommu at intel.com>
Cc: Oak Zeng <oak.zeng at intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray at intel.com>
Bommu Krishnaiah (2):
lib/xe/xe_util: helper function
tests/intel/xe_svm: basic xe_svm test
lib/xe/xe_util.c | 113 +++++++++++++++++++++++++++++++++++++++++++
lib/xe/xe_util.h | 32 ++++++++++++
tests/intel/xe_svm.c | 99 +++++++++++++++++++++++++++++++++++++
tests/meson.build | 1 +
4 files changed, 245 insertions(+)
create mode 100644 tests/intel/xe_svm.c
--
2.25.1
More information about the igt-dev
mailing list