drm/amd/pm: avoid false alarm due to confusing softwareshutdowntemp setting
authorEvan Quan <evan.quan@amd.com>
Tue, 25 Aug 2020 05:51:29 +0000 (13:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Sep 2020 04:35:09 +0000 (00:35 -0400)
commit971df65cbf32da9bc9af52c1196ca504dd316086
tree6e68986112eeaaafd5a947ceea0690fad2d2756e
parent7c62235b95db29210814b771a05279121400af5e
drm/amd/pm: avoid false alarm due to confusing softwareshutdowntemp setting

Normally softwareshutdowntemp should be greater than Thotspotlimit.
However, on some VEGA10 ASIC, the softwareshutdowntemp is 91C while
Thotspotlimit is 105C. This seems not right and may trigger some
false alarms.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-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/powerplay/hwmgr/vega10_thermal.c