<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<p style="font-family:Arial;font-size:10pt;color:#0000FF;margin:5pt;" align="Left">
[AMD Official Use Only - General]<br>
</p>
<br>
<div>
<div dir="ltr">
<div></div>
<div>
<div>
<div dir="ltr"><span id="ms-outlook-ios-cursor"></span>Reviewed-by Yang Wang <kevinyang.wang@amd.com></div>
</div>
<div id="ms-outlook-mobile-signature" dir="ltr">
<div dir="ltr"><br>
</div>
<div dir="ltr">Regards,</div>
<div dir="ltr">Kevin</div>
</div>
<div id="mail-editor-reference-message-container" class="ms-outlook-mobile-reference-message">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif"><b>发件人:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> 代表 Lijo Lazar <lijo.lazar@amd.com><br>
<b>发送时间:</b> 星期四, 五月 19, 2022 13:28<br>
<b>收件人:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>抄送:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com><br>
<b>主题:</b> [PATCH] drm/amd/pm: Fix missing thermal throttler status
<div> </div>
</font></div>
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On aldebaran, when thermal throttling happens due to excessive GPU<br>
temperature, the reason for throttling event is missed in warning<br>
message. This patch fixes it.<br>
<br>
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com><br>
---<br>
drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c<br>
index 38af648cb857..fb130409309c 100644<br>
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c<br>
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c<br>
@@ -1666,6 +1666,7 @@ static const struct throttling_logging_label {<br>
uint32_t feature_mask;<br>
const char *label;<br>
} logging_label[] = {<br>
+ {(1U << THROTTLER_TEMP_GPU_BIT), "GPU"},<br>
{(1U << THROTTLER_TEMP_MEM_BIT), "HBM"},<br>
{(1U << THROTTLER_TEMP_VR_GFX_BIT), "VR of GFX rail"},<br>
{(1U << THROTTLER_TEMP_VR_MEM_BIT), "VR of HBM rail"},<br>
-- <br>
2.25.1<br>
<br>
</div>
</span></font></div>
</div>
</div>
</div>
</body>
</html>