Revert "drm/amdgpu/swsmu: drop set_fan_speed_percent (v2)"
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jan 2021 16:46:11 +0000 (11:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Feb 2021 16:51:47 +0000 (11:51 -0500)
commitcd3051379706baf65c1c1b99ad2b84c45c7be0e1
treeb77457e6f2084e70fdee267e4dd888ed66390309
parent20bdcc99edff52727c23eb101cdf07bbe095922b
Revert "drm/amdgpu/swsmu: drop set_fan_speed_percent (v2)"

On some boards the rpm interface apparently does not work at all
leading to the fan not spinning or spinning at strange speeds.
Revert this for now to fix 5.10, 5.11.  The follow on patch
fixes this properly for 5.12.

This reverts commit 8d6e65adc25e23fabbc5293b6cd320195c708dca.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1408
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/inc/smu_v11_0.h
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c