]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: Set no fan control flag as needed.
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 9 Dec 2020 13:06:16 +0000 (21:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:56:49 +0000 (22:56 -0400)
commita06cca4881d11c95865266104eec5a27eebf5ff6
tree90fdb50a4fca2e12f852829afa9a1460bac72e06
parentb4f03f40d0870fec789154a4aaa661ee27c8c195
drm/amd/pm: Set no fan control flag as needed.

For GPUs that don't support fan control, set the no fan control flag so
that they don't appear in hwmon sensors.

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