drm/amd/pm: correct MGpuFanBoost setting
authorEvan Quan <evan.quan@amd.com>
Tue, 18 May 2021 01:01:47 +0000 (09:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 20:58:32 +0000 (16:58 -0400)
commit1a0b713c73688c6bafbe6faf8c90390b11b26fc6
tree540e82fb3c80f8ab9719f466487b34d8e6c09682
parenta2b4785f01280a4291edb9fda69032fc2e4bfd3f
drm/amd/pm: correct MGpuFanBoost setting

No MGpuFanBoost setting for those ASICs which do not support it.
Otherwise, it may breaks their fan control feature.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1580

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu11/navi10_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c