]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/pm: fix the fan speed in fan1_input in manual mode for navi1x
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 21:40:42 +0000 (17:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Oct 2020 18:08:03 +0000 (14:08 -0400)
commita5825766d8c817e72c5f0d8fa995e1a78f9c2bf7
tree94302a309549cf90274ad48f8d420bc3ad3fc47a
parent4fb6860c36cf1fa8cd44d8c5574023988480a7a4
drm/amdgpu/pm: fix the fan speed in fan1_input in manual mode for navi1x

It has been confirmed that the SMU metrics table should always reflect
the current fan speed even in manual mode.

Fixes: 3033e9f1c2de ("drm/amdgpu/swsmu: handle manual fan readback on SMU11")
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c