]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/swsmu: use percent rather than rpm for manual fan control (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jan 2021 16:48:17 +0000 (11:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 1 Feb 2021 16:51:47 +0000 (11:51 -0500)
commit7e8781999828ae939aab55e07e08c36e0d4429a3
tree74956d61a9da282338ceb2428300349b05d5a569
parent1dc36ba6246b94ecfff8dfa188677c630ac63f09
drm/amdgpu/swsmu: use percent rather than rpm for manual fan control (v2)

On some boards the rpm interface apparently does not work at all
leading to the fan not spinning or spinning at strange speeds.
Both interfaces work properly on the boards I have.
Let's try and use the percent interface instead.

v2: rebase on revert

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1408
Reviewed-by: Evan Quan <evan.quan@amd.com> (v1)
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