]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: Disable fan control if not supported
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 22 Oct 2021 07:35:25 +0000 (15:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Oct 2021 14:11:45 +0000 (10:11 -0400)
commit0985522ec632135285136b11c1fb79a938f667cc
tree69579af529464a60eb71a4770c93c171b421da6a
parent068193d798588f18bcf75a4587796d0f1195280b
drm/amd/pm: Disable fan control if not supported

On arcturus, not all platforms use PMFW based fan control. On such
ASICs fan control by PMFW will be disabled in PPTable. Disable hwmon
knobs for fan control also as it is not possible to report or control
fan speed on such platforms through driver.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/arcturus_ppt.c