]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe: Make xe_svm_alloc_vram public
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Tue, 13 May 2025 04:02:15 +0000 (09:32 +0530)
committerHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Wed, 14 May 2025 13:55:53 +0000 (19:25 +0530)
commit686a526dad183e1ca7fc2f38df34b1dd3c7c387e
tree6cf1fdd5a2146ed46fb12f64dc2dc0b9db6bad56
parent745df157e4f2d695a9149ff964abe77490b1e96c
drm/xe: Make xe_svm_alloc_vram public

This function will be used in prefetch too, hence make it public.

v2:
  - Add kernel-doc (Matthew Brost)
  - Rebase

v3:
 - Move CONFIG_DRM_XE_DEVMEM_MIRROR stub out to xe_svm.c (Matthew Brost)

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Acked-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://lore.kernel.org/r/20250513040228.470682-3-himal.prasad.ghimiray@intel.com
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
drivers/gpu/drm/xe/xe_svm.c
drivers/gpu/drm/xe/xe_svm.h