aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2023-06-05 09:11:21 +0000
committerAlex Deucher <[email protected]>2023-06-15 15:06:59 +0000
commite2ad8e2df432498b1cee2af04df605723f4d75e6 (patch)
tree0f012980352bfa6cfd5d99339d7b5830a3f041cb /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: Add checking mc_vram_size (diff)
downloadkernel-e2ad8e2df432498b1cee2af04df605723f4d75e6.tar.gz
kernel-e2ad8e2df432498b1cee2af04df605723f4d75e6.zip
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 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Acked-by: Guchun Chen <[email protected]> Tested-by: Mikhail Gavrilov <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions