commit | e034a0d9aaee5c9129d5dfdfdfcab988a953412d | [log] [tgz] |
---|---|---|
author | Philip Yang <Philip.Yang@amd.com> | Wed Nov 02 16:55:31 2022 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Nov 09 18:06:04 2022 -0500 |
tree | 2efee71104df4c61240ca8ac26e40ef6f17d0ae0 | |
parent | 64f65135c41a75f933d3bca236417ad8e9eb75de [diff] |
drm/amdgpu: Drop eviction lock when allocating PT BO Re-take the eviction lock immediately again after the allocation is completed, to fix circular locking warning with drm_buddy allocator. Move amdgpu_vm_eviction_lock/unlock/trylock to amdgpu_vm.h as they are called from multiple files. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>