]> 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)
commit6f80ad61001afdb3463a973ea29c2d78b6c92d68
tree74956d61a9da282338ceb2428300349b05d5a569
parent465371c686990dc88e3e5933f0fba4a5d18a407a
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