summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>2026-10-01 09:06:06 +0530
committerRodrigo Vivi <rodrigo.vivi@intel.com>2026-10-01 08:46:22 -0400
commit508444b9f6fc9f2862a08fffd6bebfb790cd0dc4 (patch)
tree2d5447ff7fe0a31be9d428f7f0291115a631b6aa /scripts/git.orderFile
parent927a6ab619d3f65c2c6fc7fc3f5a67e751629824 (diff)
downloadlinux-next-508444b9f6fc9f2862a08fffd6bebfb790cd0dc4.tar.gz
linux-next-508444b9f6fc9f2862a08fffd6bebfb790cd0dc4.zip
drm/xe: Bump prefetch BO LRU via GPUSVM devmem callback
Add xe_svm_devmem_lru_bump() and set it as drm_gpusvm_ctx.devmem_fn in the prefetch worker so each backing BO is moved to the LRU tail during get_pages. v2: - Guard xe_svm_devmem_lru_bump() against foreign device-memory allocations before casting to xe_bo: return early when devmem_allocation->ops != &dpagemap_devmem_ops. A shared device_private_page_owner can hand us another driver's allocation. (Matthew Brost / Sashiko AI review) - Add stub for function (CI) v3: - Guard xe_svm_devmem_lru_bump() body with CONFIG_DRM_XE_PAGEMAP; it references dpagemap_devmem_ops and to_xe_bo(), which only exist when PAGEMAP is enabled. Fixes the build with GPUSVM=y, PAGEMAP=n. (Sashiko AI review) v4: - Fix xe_svm_devmem_lru_bump() kernel-doc to explain the locking (Matt) Suggested-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://patch.msgid.link/20261001033602.3166274-9-himal.prasad.ghimiray@intel.com Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions