<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: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);">
<span style="color:black;font-size:12pt;font-family:Calibri,sans-serif;background-color:white">Reviewed-by: Tao Zhou <<a href="mailto:tao.zhou1@amd.com" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-linkindex="0">tao.zhou1@amd.com</a>></span><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> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Kenneth Feng <kenneth.feng@amd.com><br>
<b>Sent:</b> Thursday, April 22, 2021 5:33 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Feng, Kenneth <Kenneth.Feng@amd.com><br>
<b>Subject:</b> [PATCH] drm/amd/amdgpu: add cgls</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">enable cgls to improve the runtime power efficiency.<br>
<br>
Signed-off-by: Kenneth Feng <kenneth.feng@amd.com><br>
---<br>
 drivers/gpu/drm/amd/amdgpu/nv.c | 3 +++<br>
 1 file changed, 3 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c<br>
index 0142f6760ad2..9c4f232e81c0 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/nv.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c<br>
@@ -1065,6 +1065,7 @@ static int nv_common_early_init(void *handle)<br>
         case CHIP_SIENNA_CICHLID:<br>
                 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |<br>
                         AMD_CG_SUPPORT_GFX_CGCG |<br>
+                       AMD_CG_SUPPORT_GFX_CGLS |<br>
                         AMD_CG_SUPPORT_GFX_3D_CGCG |<br>
                         AMD_CG_SUPPORT_MC_MGCG |<br>
                         AMD_CG_SUPPORT_VCN_MGCG |<br>
@@ -1088,6 +1089,7 @@ static int nv_common_early_init(void *handle)<br>
         case CHIP_NAVY_FLOUNDER:<br>
                 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |<br>
                         AMD_CG_SUPPORT_GFX_CGCG |<br>
+                       AMD_CG_SUPPORT_GFX_CGLS |<br>
                         AMD_CG_SUPPORT_GFX_3D_CGCG |<br>
                         AMD_CG_SUPPORT_VCN_MGCG |<br>
                         AMD_CG_SUPPORT_JPEG_MGCG |<br>
@@ -1130,6 +1132,7 @@ static int nv_common_early_init(void *handle)<br>
         case CHIP_DIMGREY_CAVEFISH:<br>
                 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |<br>
                         AMD_CG_SUPPORT_GFX_CGCG |<br>
+                       AMD_CG_SUPPORT_GFX_CGLS |<br>
                         AMD_CG_SUPPORT_GFX_3D_CGCG |<br>
                         AMD_CG_SUPPORT_VCN_MGCG |<br>
                         AMD_CG_SUPPORT_JPEG_MGCG |<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=04%7C01%7Ctao.zhou1%40amd.com%7C7a505b4ac545404e698608d90571a5d9%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637546807949920387%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=uBcyz4X3dI8%2BrrHTdZXmA1GIE2nYiBKdAlP00x7JOwg%3D&amp;reserved=0">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=04%7C01%7Ctao.zhou1%40amd.com%7C7a505b4ac545404e698608d90571a5d9%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637546807949920387%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=uBcyz4X3dI8%2BrrHTdZXmA1GIE2nYiBKdAlP00x7JOwg%3D&amp;reserved=0</a><br>
</div>
</span></font></div>
</div>
</body>
</html>