We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de8341e commit bbca24dCopy full SHA for bbca24d
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
@@ -837,16 +837,12 @@ static int amdgpu_cs_vm_handling(struct amdgpu_cs_parser *p)
837
continue;
838
839
r = amdgpu_vm_bo_update(adev, bo_va, false);
840
- if (r) {
841
- mutex_unlock(&p->bo_list->bo_list_mutex);
+ if (r)
842
return r;
843
- }
844
845
r = amdgpu_sync_fence(&p->job->sync, bo_va->last_pt_update);
846
847
848
849
850
}
851
852
r = amdgpu_vm_handle_moved(adev, vm);
0 commit comments