]> 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 14:50:41 +0000 (10:50 -0400)
commit5cdc219fe86a1720aa4b5b4f42f11913146e6a93
tree17259a40a93d3acde34366f11bd91145e6b97940
parent00218d15528fab9f6b31241fe5904eea4fcaa30d
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c