]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/gpusvm: Add timeslicing support to GPU SVM
authorMatthew Brost <matthew.brost@intel.com>
Mon, 12 May 2025 13:54:57 +0000 (06:54 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 12 May 2025 20:49:18 +0000 (13:49 -0700)
commit8dc1812b5b3a42311d28eb385eed88e2053ad3cb
tree231452ed407739bcd15900c095a10fab3fadd68a
parenta9ac0fa455b050d03e3032501368048fb284d318
drm/gpusvm: Add timeslicing support to GPU SVM

Add timeslicing support to GPU SVM which will guarantee the GPU a
minimum execution time on piece of physical memory before migration back
to CPU. Intended to implement strict migration policies which require
memory to be in a certain placement for correct execution.

Required for shared CPU and GPU atomics on certain devices.

Fixes: 99624bdff867 ("drm/gpusvm: Add support for GPU Shared Virtual Memory")
Cc: stable@vger.kernel.org
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://lore.kernel.org/r/20250512135500.1405019-4-matthew.brost@intel.com
drivers/gpu/drm/drm_gpusvm.c
include/drm/drm_gpusvm.h