Skip to content
Snippets Groups Projects
Commit 0e537872 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Acked-by: default avatarGuchun Chen <guchun.chen@amd.com>
Tested-by: default avatarMikhail Gavrilov <mikhail.v.gavrilov@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9bd9be5c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment