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 21:43:28 +0000 (17:43 -0400)
commitdf45ff0b84907f7cef19224f20db120d72c390f4
tree7b11a18d1851125292fea4a61bfe1e4eb2b57947
parent0c6c9ef8a7061bcd54032a8b68bf311dc94ec965
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: bb50e446daba ("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