]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/svm: Helper to add tile masks to svm ranges
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Tue, 13 May 2025 04:02:16 +0000 (09:32 +0530)
committerHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Wed, 14 May 2025 13:55:53 +0000 (19:25 +0530)
commiteb07c2fc10bf9b98fb5df8a78ce707e3a20b5443
tree548b67a184161fbf6ada724dac95f9300d0bbdbe
parent686a526dad183e1ca7fc2f38df34b1dd3c7c387e
drm/xe/svm: Helper to add tile masks to svm ranges

Introduce a helper to add tile mask of binding present and invalidated
for the range. Add a lockdep_assert to ensure it is protected by GPU SVM
notifier lock.

-v7
rebased

Suggested-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250513040228.470682-4-himal.prasad.ghimiray@intel.com
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
drivers/gpu/drm/xe/xe_pt.c