]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jan 2021 18:40:24 +0000 (13:40 -0500)
commit27aec50c9df744e98e9303e74d2b836f9b530247
tree2468ec3c5670304aa4efb8b9182f06be2106383d
parent8853f1d24e6569e280c909e16a450022024c4f78
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 a71584e0b21b030b47ed011b061a5c612003f833.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1408
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.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