diff options
author | Prike Liang | 2019-06-24 11:25:26 +0200 |
---|---|---|
committer | Alex Deucher | 2019-06-25 20:23:51 +0200 |
commit | 1189413f9cd45e42dc8ce3dc4eacd6ae27269ef9 (patch) | |
tree | 191bfff3dd702571a0e6aaf0ab4f8e44b9716bd5 /drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | |
parent | drm/amd/amdgpu: sdma_v4_0_start: initialize r (diff) | |
download | kernel-qcow2-linux-1189413f9cd45e42dc8ce3dc4eacd6ae27269ef9.tar.gz kernel-qcow2-linux-1189413f9cd45e42dc8ce3dc4eacd6ae27269ef9.tar.xz kernel-qcow2-linux-1189413f9cd45e42dc8ce3dc4eacd6ae27269ef9.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/amdgpu_smu.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index 29fb1965686a..9559127dd0ec 100644 --- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c @@ -1044,7 +1044,6 @@ static int smu_hw_init(void *handle) return 0; failed: - mutex_unlock(&smu->mutex); return ret; } |