commit | cf3fde893d3a86fe5275061fbf80d67271d2d0cf | [log] [tgz] |
---|---|---|
author | Evan Quan <evan.quan@amd.com> | Wed Nov 06 12:40:12 2019 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Nov 06 16:27:48 2019 -0500 |
tree | 4545c135e1190b66248b89e290652a605e9140bc | |
parent | 60599a03638a611574a177fa6e6d7394abad0d7f [diff] |
drm/amd/powerplay: fix deadlock on setting power_dpm_force_performance_level smu_enable_umd_pstate() will try to get the smu->mutex which was already hold by its parent API smu_force_performance_level() on the call path. Thus deadlock happens. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>