diff options
author | Christian König <christian.koenig@amd.com> | 2023-06-05 11:11:21 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-15 11:06:59 -0400 |
commit | e2ad8e2df432498b1cee2af04df605723f4d75e6 (patch) | |
tree | 0f012980352bfa6cfd5d99339d7b5830a3f041cb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 43aedbf4da1db9a9c2f9e160a4ae96dfda83774c (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