summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2023-06-05 11:11:21 +0200
committerAlex Deucher <alexander.deucher@amd.com>2023-06-15 11:06:59 -0400
commite2ad8e2df432498b1cee2af04df605723f4d75e6 (patch)
tree0f012980352bfa6cfd5d99339d7b5830a3f041cb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent43aedbf4da1db9a9c2f9e160a4ae96dfda83774c (diff)
drm/amdgpu: make sure BOs are locked in amdgpu_vm_get_memory
We need to grab the lock of the BO or otherwise can run into a crash when we try to inspect the current location. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Guchun Chen <guchun.chen@amd.com> Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions