diff options
author | Matthew Brost <matthew.brost@intel.com> | 2025-03-06 04:26:49 +0300 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2025-03-06 22:36:56 +0300 |
commit | c5b3eb5a906c4777960050b9fece20a4722453b8 (patch) | |
tree | 4ff137488999df3945afbd0edae5bb441236d2a7 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 11bbe0d9aa9680257b666e50d6b3c15bb856a27e (diff) | |
download | linux-c5b3eb5a906c4777960050b9fece20a4722453b8.tar.xz |
drm/xe: Add GPUSVM device memory copy vfunc functions
Add GPUSVM device memory copy vfunc functions and connect to migration
layer. Used for device memory migration.
v2:
- Allow NULL device pages in xe_svm_copy
- Use new drm_gpusvm_devmem_ops
v3:
- Prefix defines with XE_ (Thomas)
- Change copy chunk size to 8M
- Add a bunch of comments to xe_svm_copy to clarify behavior (Thomas)
- Better commit message (Thomas)
v5:
- s/xe_mem_region/xe_vram_region (Rebase)
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306012657.3505757-25-matthew.brost@intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions