diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2021-01-28 11:46:11 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-01 11:51:47 -0500 |
commit | cd3051379706baf65c1c1b99ad2b84c45c7be0e1 (patch) | |
tree | b77457e6f2084e70fdee267e4dd888ed66390309 /drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h | |
parent | 20bdcc99edff52727c23eb101cdf07bbe095922b (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h')
-rw-r--r-- | drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h index 631a36a75ae3..7c5c7d605e65 100644 --- a/drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_smu.h @@ -954,7 +954,7 @@ struct pptable_funcs { * @set_fan_speed_rpm: Set a static fan speed in RPM. */ int (*set_fan_speed_rpm)(struct smu_context *smu, uint32_t speed); - + int (*set_fan_speed_percent)(struct smu_context *smu, uint32_t speed); /** * @set_xgmi_pstate: Set inter-chip global memory interconnect pstate. * &pstate: Pstate to set. D0 if Nonzero, D3 otherwise. |