]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay:clean up the residual mutex for smu_hw_init
authorPrike Liang <Prike.Liang@amd.com>
Mon, 24 Jun 2019 09:25:26 +0000 (17:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jun 2019 18:23:51 +0000 (13:23 -0500)
commit57e932fd812bf573550acbdaf4e3b77ce9bf94d7
tree191bfff3dd702571a0e6aaf0ab4f8e44b9716bd5
parentaa6b8a6292acbd67bd0d0fe8a64ca1a1edf9fbc0
drm/amd/powerplay:clean up the residual mutex for smu_hw_init

The mutex for procting SMU during hw_init was removed as system
will be deadlock when smu_populate_umd_state_clk try get SMU mutex.
Therefore need remove the residual mutex from failed path.

Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c