diff options
| author | Philip Yang <[email protected]> | 2022-11-02 20:55:31 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-11-09 22:41:41 +0000 |
| commit | 0bc71adc8b1b65a369d4b8ef098e74ed4aab62d9 (patch) | |
| tree | 48141bb2c79c9104a05ce5493bf23e04c4b20842 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
| parent | drm/amdgpu: Unlock bo_list_mutex after error handling (diff) | |
| download | kernel-0bc71adc8b1b65a369d4b8ef098e74ed4aab62d9.tar.gz kernel-0bc71adc8b1b65a369d4b8ef098e74ed4aab62d9.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
