summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2022-11-02 23:55:31 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-11-10 01:41:41 +0300
commit0bc71adc8b1b65a369d4b8ef098e74ed4aab62d9 (patch)
tree48141bb2c79c9104a05ce5493bf23e04c4b20842 /drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c
parentc70e2166967dc4ecb5e3a9b162741a9726755d9b (diff)
downloadlinux-0bc71adc8b1b65a369d4b8ef098e74ed4aab62d9.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c')
0 files changed, 0 insertions, 0 deletions