<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:11pt;color:#0078D7;margin:5pt;" align="Left">
[AMD Official Use Only - Internal Distribution Only]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
You wrote the patch, it should be signed-off-by you, not me <span id="🙂">🙂</span> E.g.,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Signed-off-by: Charles Sun <charles.sun@amd.com><br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Sun, Charles <Charles.Sun@amd.com><br>
<b>Sent:</b> Wednesday, April 7, 2021 11:32 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Liu, Zhan <Zhan.Liu@amd.com>; Su, Jinzhou (Joe) <Jinzhou.Su@amd.com>; Sun, Charles <Charles.Sun@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com><br>
<b>Subject:</b> [0001-increase-time-out-2s-send-msg-to-smu.patch] drm/amd/pm: increase time out value when sending msg to SMU</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">when do S3 stress, low rate that PowerUpVcn message will get response<br>
more than 1s, so here increase the timeout to 2s<br>
<br>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com><br>
---<br>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c b/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c<br>
index b725f263092b..dc7d2e71aa6f 100644<br>
--- a/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c<br>
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c<br>
@@ -79,7 +79,7 @@ static void smu_cmn_read_arg(struct smu_context *smu,<br>
int smu_cmn_wait_for_response(struct smu_context *smu)<br>
{<br>
struct amdgpu_device *adev = smu->adev;<br>
- uint32_t cur_value, i, timeout = adev->usec_timeout * 10;<br>
+ uint32_t cur_value, i, timeout = adev->usec_timeout * 20;<br>
<br>
for (i = 0; i < timeout; i++) {<br>
cur_value = RREG32_SOC15(MP1, 0, mmMP1_SMN_C2PMSG_90);<br>
-- <br>
2.25.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>