summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>2026-10-01 09:06:05 +0530
committerRodrigo Vivi <rodrigo.vivi@intel.com>2026-10-01 08:46:22 -0400
commit927a6ab619d3f65c2c6fc7fc3f5a67e751629824 (patch)
tree4b193889e31261ff238fd2e3f15de9c50d4db636 /scripts/objdiff
parent2069eeb76a16cea613e309242bd17bd967cce95d (diff)
downloadlinux-next-927a6ab619d3f65c2c6fc7fc3f5a67e751629824.tar.gz
linux-next-927a6ab619d3f65c2c6fc7fc3f5a67e751629824.zip
drm/gpusvm: Add devmem callback to get_pages
Add an optional drm_gpusvm_ctx.devmem_fn, invoked for each device-memory allocation backing the range's faulted pages. It runs under the notifier lock and independently of the DMA map, so it also fires with no_dma_map. Adjacent pages of one allocation are coalesced, so the callback must be idempotent. v2 Reset last to NULL for non-devmem pages(Sashiko/Matt) v3 Run drm_gpusvm_pages_valid_unlocked() on the map_dma path even when devmem_fn is set, so an invalidated range's stale inline mapping is reset. Suggested-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://patch.msgid.link/20261001033602.3166274-8-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/objdiff')
0 files changed, 0 insertions, 0 deletions