]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit47b67c9900db0db41e7a678bc0b2fc54983b6cb9
tree69579af529464a60eb71a4770c93c171b421da6a
parentdf9feb1a6972af994dce8a5aae9e770181e5d065
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