<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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: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 class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);">Reviewed-by: Alex Deucher <alexander.deucher@amd.com></span></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> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Dmitrii Galantsev <dmitrii.galantsev@amd.com><br>
<b>Sent:</b> Wednesday, December 6, 2023 2:39 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Galantsev, Dmitrii <Dmitrii.Galantsev@amd.com><br>
<b>Subject:</b> [PATCH] drm/amd/pm: fix pp_*clk_od typo</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Fix pp_dpm_sclk_od and pp_dpm_mclk_od typos.<br>
Those were defined as pp_*clk_od but used as pp_dpm_*clk_od instead.<br>
This change removes the _dpm part.<br>
<br>
Signed-off-by: Dmitrii Galantsev <dmitrii.galantsev@amd.com><br>
---<br>
 drivers/gpu/drm/amd/pm/amdgpu_pm.c | 4 ++--<br>
 1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c<br>
index e1497296afee..2cd995b0ceba 100644<br>
--- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c<br>
+++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c<br>
@@ -2238,10 +2238,10 @@ static int default_attr_update(struct amdgpu_device *adev, struct amdgpu_device_<br>
         } else if (DEVICE_ATTR_IS(xgmi_plpd_policy)) {<br>
                 if (amdgpu_dpm_get_xgmi_plpd_mode(adev, NULL) == XGMI_PLPD_NONE)<br>
                         *states = ATTR_STATE_UNSUPPORTED;<br>
-       } else if (DEVICE_ATTR_IS(pp_dpm_mclk_od)) {<br>
+       } else if (DEVICE_ATTR_IS(pp_mclk_od)) {<br>
                 if (amdgpu_dpm_get_mclk_od(adev) == -EOPNOTSUPP)<br>
                         *states = ATTR_STATE_UNSUPPORTED;<br>
-       } else if (DEVICE_ATTR_IS(pp_dpm_sclk_od)) {<br>
+       } else if (DEVICE_ATTR_IS(pp_sclk_od)) {<br>
                 if (amdgpu_dpm_get_sclk_od(adev) == -EOPNOTSUPP)<br>
                         *states = ATTR_STATE_UNSUPPORTED;<br>
         } else if (DEVICE_ATTR_IS(apu_thermal_cap)) {<br>
-- <br>
2.43.0<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>