]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Timeslice GPU on atomic SVM fault
authorMatthew Brost <matthew.brost@intel.com>
Mon, 12 May 2025 13:54:58 +0000 (06:54 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Mon, 12 May 2025 20:49:18 +0000 (13:49 -0700)
commita5d8d3be1dea8154edbbea481081469627665659
tree8d8f9729554b405b360f0a857f380e3e129aa191
parent8dc1812b5b3a42311d28eb385eed88e2053ad3cb
drm/xe: Timeslice GPU on atomic SVM fault

Ensure GPU can make forward progress on an atomic SVM GPU fault by
giving the GPU a timeslice of 5ms

v2:
 - Reduce timeslice to 5ms
 - Double timeslice on retry
 - Split out GPU SVM changes into independent patch
v5:
 - Double timeslice in a few more places

Fixes: 2f118c949160 ("drm/xe: Add SVM VRAM migration")
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-5-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_svm.c