]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu: lock bo before calling amdgpu_vm_bo_update_shared
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 28 Oct 2025 13:09:05 +0000 (14:09 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Nov 2025 16:53:21 +0000 (11:53 -0500)
commit36ffc58b8a8704e690a0ce679db26baa5759256f
tree5b10f7743765ce6b96b06e20e6cebc34b6b48851
parentc72d41a8f3090c2ecc12afdde1bcf9ed726157ce
drm/amdgpu: lock bo before calling amdgpu_vm_bo_update_shared

BO's reservation object must be locked before using
amdgpu_vm_bo_update_shared otherwise dma_resv_assert_held will
complain in amdgpu_vm_update_shared.

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_dma_buf.c