drm/xe/vm: Don't pin the vm_resv during validation
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 21 Aug 2025 14:30:43 +0000 (16:30 +0200)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 26 Aug 2025 14:12:11 +0000 (10:12 -0400)
commit7551865cd12af2dc47e5a174eebcfb0b94b5449b
tree1807d2efbf2240c0a5c28c5ee66d0e54eb53019c
parent04e1f683cd28dc9407b238543871a6e09a570dc0
drm/xe/vm: Don't pin the vm_resv during validation

The pinning has the odd side-effect that unlocking *any* resv
during validation triggers an "unlocking pinned lock" warning.

Cc: Matthew Brost <matthew.brost@intel.com>
Fixes: 5cc3325584c4 ("drm/xe: Rework eviction rejection of bound external bos")
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20250821143045.106005-2-thomas.hellstrom@linux.intel.com
(cherry picked from commit 0a51bf3e54dd8b77e6f1febbbb66def0660862d2)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_bo.c
drivers/gpu/drm/xe/xe_vm.h