]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/vm: split userptr bits into separate file
authorMatthew Auld <matthew.auld@intel.com>
Thu, 28 Aug 2025 14:24:37 +0000 (15:24 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Fri, 5 Sep 2025 10:45:47 +0000 (11:45 +0100)
commitdd25b995a2711cb135dba9af7670c6debeea7b04
treefc889968cb1e59b7698c979cd5a70ddf58887c3d
parent83f706ecbde1dfdc377bafda773fdc57644cd479
drm/xe/vm: split userptr bits into separate file

This will simplify compiling out the bits that depend on DRM_GPUSVM in a
later patch. Without this we end up littering the code with ifdef
checks, plus it becomes hard to be sure that something won't blow at
runtime due to something not being initialised, even though it passed
the build. Should be no functional change here.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250828142430.615826-16-matthew.auld@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/xe_pt.c
drivers/gpu/drm/xe/xe_userptr.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_userptr.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_vm.c
drivers/gpu/drm/xe/xe_vm.h
drivers/gpu/drm/xe/xe_vm_types.h