]> 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)
commitaf4c5ff99f2e8fac179e1ef9f9c40eada3611f86
tree08aaee4a3e1d31b428cf682b94e78fef9da7409e
parent5a656e109637184675d55906d8762cf0dcc951bf
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