]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: Disable fan control if not supported
authorElena Sakhnovitch <elena.sakhnovitch@amd.com>
Fri, 11 Mar 2022 19:03:09 +0000 (14:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 13:54:50 +0000 (09:54 -0400)
commit860090162a129661448b76e3ea42cae42c099539
tree08aaee4a3e1d31b428cf682b94e78fef9da7409e
parent22271f9200d472c507d4c8ddf7309d9fcd748178
drm/amd/pm: Disable fan control if not supported

On Sienna Cichild, not all platforms use PMFW based fan control
(ex: fanless systems). 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.

v3: FeaturesToRun casted as uint64_t

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