diff options
author | Evan Quan <evan.quan@amd.com> | 2022-01-25 16:09:00 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-01-27 15:48:22 -0500 |
commit | 75513bf5d72cd1a81401866642f4a8052b2d4420 (patch) | |
tree | 333d67380200cc370548fd401a02ebf199bfa887 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | f4e2a66dae996b4fa2cc21b1904798ad1dc83049 (diff) | |
download | linux-75513bf5d72cd1a81401866642f4a8052b2d4420.tar.gz linux-75513bf5d72cd1a81401866642f4a8052b2d4420.tar.bz2 linux-75513bf5d72cd1a81401866642f4a8052b2d4420.zip |
drm/amd/pm: fix the deadlock observed on performance_level setting
The sub-routine(amdgpu_gfx_off_ctrl) tried to obtain the lock
adev->pm.mutex which was actually hold by amdgpu_dpm_force_performance_level.
A deadlock happened then.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions