mirror_ubuntu-kernels/drivers/gpu/drm/amd/pm
Luben Tuikov 544dcd74b7 drm/amd/pm: Fix a bug in semaphore double-lock
Fix a bug in smu_cmn_send_msg_without_waiting() in
that this function does not need to take the
smu->message_lock mutex in order to send a message
down to the SMU. The mutex is acquired by the
caller of this function instead.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Changfeng Zhu <Changfeng.Zhu@amd.com>
Cc: Huang Rui <ray.huang@amd.com>
Fixes: 5810323ba6 ("drm/amd/pm: Fix a bug communicating with the SMU (v5)")
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-07-28 22:15:44 -04:00
..
inc drm/amd/pm: restore user customized OD settings properly for NV1x 2021-07-28 16:37:18 -04:00
powerplay amdgpu/pm: modify Powerplay API get_power_limit to use new pp_power enums 2021-06-08 12:13:49 -04:00
swsmu drm/amd/pm: Fix a bug in semaphore double-lock 2021-07-28 22:15:44 -04:00
amdgpu_dpm.c drm/amd/pm: unify the interface for power gating 2021-04-09 16:46:46 -04:00
amdgpu_pm.c amdgpu/pm: remove code duplication in show_power_cap calls 2021-06-30 00:18:56 -04:00
Makefile drm/amd/swsmu: add aldebaran smu13 ip support (v3) 2021-03-23 22:54:24 -04:00