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)
commit73ab8efc7fdf683f7415c010990d9a1a16fae464
tree90fdb50a4fca2e12f852829afa9a1460bac72e06
parentd02692ae0d538598e9ef970dabfd29620055b18b
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