]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/gpusvm: pull out drm_gpusvm_pages substructure
authorMatthew Auld <matthew.auld@intel.com>
Thu, 28 Aug 2025 14:24:34 +0000 (15:24 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 5 Sep 2025 10:45:46 +0000 (11:45 +0100)
commitf70da6f99d4f40c5f481c92e3b65d5e36eaa6dc9
tree869b5f66cab5d2981fffe2fb46973ea209a1a617
parentad70e289ed4b1f87d4f158fd1ad5a3225256929d
drm/gpusvm: pull out drm_gpusvm_pages substructure

Pull the pages stuff from the svm range into its own substructure, with
the idea of having the main pages related routines, like get_pages(),
unmap_pages() and free_pages() all operating on some lower level
structures, which can then be re-used for stuff like userptr.

v2:
  - Move seq into pages struct (Matt B)
v3:
  - Small kernel-doc fixes

Suggested-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250828142430.615826-13-matthew.auld@intel.com
drivers/gpu/drm/drm_gpusvm.c
drivers/gpu/drm/xe/xe_pt.c
drivers/gpu/drm/xe/xe_svm.c
drivers/gpu/drm/xe/xe_svm.h
include/drm/drm_gpusvm.h