OSDN Git Service

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 19:45:38 +0000 (15:45 -0400)
commit28e628645333b7e581c4a7b04d958e4804ea10fe
treebc8a201c0ab79dd866699827b199f71f8134dc18
parent14e4f3bd818a216dc85ab5ec9a33c49357a6369b
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_thermal.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_thermal.c