]> 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)
commit5b848007cc18b833169aa240a4e0c4da98230bc0
tree69579af529464a60eb71a4770c93c171b421da6a
parentda05c028a57b0beffbe37575d609c575b220e9c9
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