]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: fix root reservation in amdgpu_vm_handle_fault
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 20 Apr 2026 08:23:39 +0000 (10:23 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Apr 2026 15:10:12 +0000 (11:10 -0400)
commit686e5985d9f5ba29e2fd43d618548039727adee2
tree8766ff915db182c71132d87a0a1fa33e113f02a6
parentfe2b84f9228e2a0903221a4d0d8c350b018e9c0c
drm/amdgpu: fix root reservation in amdgpu_vm_handle_fault

svm_range_restore_pages might reserve the root bo so it must
be called after unreserving it.

Fixes: 1b135c6da061 ("drm/amdgpu: extract amdgpu_vm_lock_by_pasid from amdgpu_vm_handle_fault")
Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 5cdc219fe86a1720aa4b5b4f42f11913146e6a93)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c