drm/amd/pm: correct the thermal alert temperature limit settings
authorEvan Quan <evan.quan@amd.com>
Tue, 25 Aug 2020 02:35:11 +0000 (10:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Aug 2020 20:40:19 +0000 (16:40 -0400)
commit1887544d4ddd89fab8a76d150b46c329e7925da1
tree785a5b3e3e32ec1a581c1825550a8ef682592923
parentc56c90f41343c0ec9606d7d297110ecc84c7f891
drm/amd/pm: correct the thermal alert temperature limit settings

Do the maths in celsius degree. This can fix the issues caused
by the changes below:

drm/amd/pm: correct Vega20 swctf limit setting
drm/amd/pm: correct Vega12 swctf limit setting
drm/amd/pm: correct Vega10 swctf limit setting

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_thermal.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c
drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_thermal.c