<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</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 style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);" dir="auto">
+Likun, Hawking</div>
<div dir="auto">
<div><br>
</div>
</div>
<div id="ms-outlook-mobile-signature" dir="auto">Hi,</div>
<div id="ms-outlook-mobile-signature" dir="auto" style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);">
<br>
</div>
<div id="ms-outlook-mobile-signature" dir="auto" style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);">
Can you please help with the review of the patch?</div>
<div id="ms-outlook-mobile-signature" dir="auto" style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);">
<br>
</div>
<div id="ms-outlook-mobile-signature" dir="auto" style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);">
Thanks and regards</div>
<div id="ms-outlook-mobile-signature" dir="auto" style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255);">
Krunal</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> Patel, Krunalkumar Mukeshkumar <KrunalkumarMukeshkumar.Patel@amd.com><br>
<b>Sent:</b> Monday, November 7, 2022 1:35:01 PM<br>
<b>To:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Pan, Xinhui <Xinhui.Pan@amd.com>; Koenig, Christian <Christian.Koenig@amd.com><br>
<b>Cc:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>; S, Shirish <Shirish.S@amd.com>; Patel, Krunalkumar Mukeshkumar <KrunalkumarMukeshkumar.Patel@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdgpu: Add support to clock gating for sdma 5.2.7</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">With this change it will add support for clock gating for sdma 5.2.7<br>
<br>
- Additional changes are to re-arrange the chip version sequentially.<br>
<br>
Signed-off-by: Krunal Patel <krunalkumarmukeshkumar.patel@amd.com><br>
---<br>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c | 5 +++--<br>
1 file changed, 3 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c b/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c<br>
index 809eca54fc61..404b255cb4e0 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c<br>
@@ -1647,12 +1647,13 @@ static int sdma_v5_2_set_clockgating_state(void *handle,<br>
<br>
switch (adev->ip_versions[SDMA0_HWIP][0]) {<br>
case IP_VERSION(5, 2, 0):<br>
- case IP_VERSION(5, 2, 2):<br>
case IP_VERSION(5, 2, 1):<br>
+ case IP_VERSION(5, 2, 2):<br>
+ case IP_VERSION(5, 2, 3):<br>
case IP_VERSION(5, 2, 4):<br>
case IP_VERSION(5, 2, 5):<br>
case IP_VERSION(5, 2, 6):<br>
- case IP_VERSION(5, 2, 3):<br>
+ case IP_VERSION(5, 2, 7):<br>
sdma_v5_2_update_medium_grain_clock_gating(adev,<br>
state == AMD_CG_STATE_GATE);<br>
sdma_v5_2_update_medium_grain_light_sleep(adev,<br>
-- <br>
2.25.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>