<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);">
Reviewed-by:<span style="color:#c0c0c0"> </span>James<span style="color:#c0c0c0">
</span>Zhu<span style="color:#c0c0c0"> </span><James.Zhu@amd.com><br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p style="margin-top: 0px; margin-bottom: 0px;">Thanks & Best Regards!</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">James Zhu<br>
</p>
</div>
</div>
</div>
</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> Liu, Aaron <Aaron.Liu@amd.com><br>
<b>Sent:</b> Wednesday, January 20, 2021 2:51 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Huang, Ray <Ray.Huang@amd.com>; Zhang, Boyuan <Boyuan.Zhang@amd.com>; Zhu, James <James.Zhu@amd.com>; Liu, Leo <Leo.Liu@amd.com>; Liu, Aaron <Aaron.Liu@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdgpu: enable VCN PG and CG for yellow carp</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Enable VCN 3.0 PG and CG for Yellow Carp by setting up flags.<br>
<br>
Signed-off-by: Aaron Liu <aaron.liu@amd.com><br>
---<br>
 drivers/gpu/drm/amd/amdgpu/nv.c | 8 ++++++--<br>
 1 file changed, 6 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c<br>
index 801cf79353dd..903e1ae166c5 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/nv.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c<br>
@@ -1020,9 +1020,13 @@ static int nv_common_early_init(void *handle)<br>
                         AMD_CG_SUPPORT_HDP_LS |<br>
                         AMD_CG_SUPPORT_ATHUB_MGCG |<br>
                         AMD_CG_SUPPORT_ATHUB_LS |<br>
-                       AMD_CG_SUPPORT_IH_CG;<br>
+                       AMD_CG_SUPPORT_IH_CG |<br>
+                       AMD_CG_SUPPORT_VCN_MGCG |<br>
+                       AMD_CG_SUPPORT_JPEG_MGCG;<br>
                 adev->pg_flags = AMD_PG_SUPPORT_GFX_PG |<br>
-                       AMD_PG_SUPPORT_VCN_DPG;<br>
+                       AMD_PG_SUPPORT_VCN |<br>
+                       AMD_PG_SUPPORT_VCN_DPG |<br>
+                       AMD_PG_SUPPORT_JPEG;<br>
                 adev->external_rev_id = adev->rev_id + 0x01;<br>
                 break;<br>
         default:<br>
-- <br>
2.25.1<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>