]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Add Xe SVM devmem_release GPU SVM vfunc
authorMatthew Brost <matthew.brost@intel.com>
Thu, 6 Mar 2025 01:26:51 +0000 (17:26 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 6 Mar 2025 19:36:56 +0000 (11:36 -0800)
commit5951fed85cf18763158c5fa5d27df98c789ae5d8
tree57d0b031ea4d3d91272e92cc65dbec64645f41ef
parentecacec0f4aff9130e333e67ecfa21f3e0b630298
drm/xe: Add Xe SVM devmem_release GPU SVM vfunc

Implement with a simple BO put which releases the device memory.

v2:
 - Use new drm_gpusvm_devmem_ops
v3:
 - Better commit message (Thomas)
v4:
 - Use xe_bo_put_async (Thomas)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306012657.3505757-27-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_svm.c