<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;font-style:normal;font-weight:normal;text-decoration:none;" align="Left">
[AMD Official Use Only - General]<br>
</p>
<br>
<div>
<div dir="ltr"><span style="text-decoration: none; font-size: 14.666667px; display: inline !important; color: rgb(33, 33, 33);">This patch is:</span><br style="text-decoration: none; font-size: 14.666667px; color: rgb(33, 33, 33);">
<span style="text-decoration: none; font-size: 14.666667px; display: inline !important; color: rgb(33, 33, 33);">Reviewed-by: Yifan Zhang <</span><span dir="ltr" style="text-decoration: none; font-size: 14.666667px; color: rgb(0, 120, 212);">yifan1.zhang@amd.com</span><span style="text-decoration: none; font-size: 14.666667px; display: inline !important; color: rgb(33, 33, 33);">></span><br style="text-decoration: none; font-size: 14.666667px; color: rgb(33, 33, 33);">
</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>发件人:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> 代表 jiadong.zhu@amd.com <jiadong.zhu@amd.com><br>
<b>发送时间:</b> Thursday, October 19, 2023 11:38:45 AM<br>
<b>收件人:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>抄送:</b> Zhu, Jiadong <Jiadong.Zhu@amd.com><br>
<b>主题:</b> [PATCH] drm/amd/pm: drop unneeded dpm features disablement for SMU 14.0.0</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">From: Jiadong Zhu <Jiadong.Zhu@amd.com><br>
<br>
PMFW will handle the features disablement properly for gpu reset case,<br>
driver involvement may cause some unexpected issues.<br>
<br>
Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com><br>
---<br>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 3 ++-<br>
1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c<br>
index 7c3356d6da5e..ace71abbbcf6 100644<br>
--- a/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c<br>
+++ b/drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c<br>
@@ -1677,13 +1677,14 @@ static int smu_disable_dpms(struct smu_context *smu)<br>
}<br>
<br>
/*<br>
- * For SMU 13.0.4/11, PMFW will handle the features disablement properly<br>
+ * For SMU 13.0.4/11 and 14.0.0, PMFW will handle the features disablement properly<br>
* for gpu reset and S0i3 cases. Driver involvement is unnecessary.<br>
*/<br>
if (amdgpu_in_reset(adev) || adev->in_s0ix) {<br>
switch (amdgpu_ip_version(adev, MP1_HWIP, 0)) {<br>
case IP_VERSION(13, 0, 4):<br>
case IP_VERSION(13, 0, 11):<br>
+ case IP_VERSION(14, 0, 0):<br>
return 0;<br>
default:<br>
break;<br>
-- <br>
2.25.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>