]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "drm/amdgpu/swsmu: drop set_fan_speed_percent (v2)"
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jan 2021 18:28:59 +0000 (13:28 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2021 22:28:39 +0000 (23:28 +0100)
commit0634449e9977c74c4bb32564ea3faf925d60039f
tree4df08e2507182d55648e8091f2ee1ab7fb3a4773
parent39714b66a8b15a4953f75afdd1c457990b20d0a8
Revert "drm/amdgpu/swsmu: drop set_fan_speed_percent (v2)"

commit a119f87b86bcdf14a18ce39a899e97a1e9160f7f upstream.

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>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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