diff options
author | Kent Russell <kent.russell@amd.com> | 2020-11-05 10:15:08 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-05 14:23:06 -0500 |
commit | 514ad1b6bb6e2fa205b5511bd3d50e33457f6180 (patch) | |
tree | 298a0f788ade524958ba553bca09f2fade19efb6 /include/drm | |
parent | 71037bfc78bf63a6640792ace925741767fb6bfc (diff) | |
download | linux-stable-514ad1b6bb6e2fa205b5511bd3d50e33457f6180.tar.gz linux-stable-514ad1b6bb6e2fa205b5511bd3d50e33457f6180.tar.bz2 linux-stable-514ad1b6bb6e2fa205b5511bd3d50e33457f6180.zip |
drm/amdgpu: Fix Arcturus fan speed reporting
Arcturus doesn't have a fan. The assumption of "if the manual fan
control bit isn't set, it's on automatic mode" does not hold true if the
fan is missing, and results in exposing an invalid value for fan speed.
The SMU metrics table accurately reflects the lack of fan and will
return 0 for the fan speed. Trying to use the
smu_v11_0_get_fan_speed_rpm function will return invalid data, so just
stick with the SMU metrics for Arcturus
Signed-off-by: Kent Russell <kent.russell@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions