<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:#317100;margin:15pt;" align="Left">
[AMD Public Use]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Acked-by: Alex Deucher <alexander.deucher@amd.com><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 Lazar, Lijo <Lijo.Lazar@amd.com><br>
<b>Sent:</b> Friday, March 12, 2021 3:52 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Xu, Feifei <Feifei.Xu@amd.com>; Zhang, Hawking <Hawking.Zhang@amd.com><br>
<b>Subject:</b> [PATCH] drm/amdgpu: Enable VCN/JPEG CG on aldebaran</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
span.x_EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<p class="x_msipheader251902e5" align="Left" style="margin:0"><span style="font-size:10.0pt; font-family:Arial; color:#317100">[AMD Public Use]</span></p>
<br>
<div class="x_WordSection1">
<p class="x_MsoNormal">Enable clockgating for VCN and JPEG blocks on aldebaran</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Signed-off-by: Lijo Lazar <a href="mailto:lijo.lazar@amd.com">
lijo.lazar@amd.com</a></p>
<p class="x_MsoNormal">Reviewed-by: Hawking Zhang <a href="mailto:Hawking.Zhang@amd.com">
Hawking.Zhang@amd.com</a></p>
<p class="x_MsoNormal">---</p>
<p class="x_MsoNormal">drivers/gpu/drm/amd/amdgpu/soc15.c | 4 ++--</p>
<p class="x_MsoNormal">1 file changed, 2 insertions(+), 2 deletions(-)</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c</p>
<p class="x_MsoNormal">index 3808402cd964..a08000a3bdb9 100644</p>
<p class="x_MsoNormal">--- a/drivers/gpu/drm/amd/amdgpu/soc15.c</p>
<p class="x_MsoNormal">+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c</p>
<p class="x_MsoNormal">@@ -1495,8 +1495,8 @@ static int soc15_common_early_init(void *handle)</p>
<p class="x_MsoNormal"> AMD_CG_SUPPORT_HDP_LS |</p>
<p class="x_MsoNormal"> AMD_CG_SUPPORT_SDMA_MGCG |</p>
<p class="x_MsoNormal"> AMD_CG_SUPPORT_SDMA_LS |</p>
<p class="x_MsoNormal">- AMD_CG_SUPPORT_IH_CG;</p>
<p class="x_MsoNormal">- /*AMD_CG_SUPPORT_VCN_MGCG |AMD_CG_SUPPORT_JPEG_MGCG;*/</p>
<p class="x_MsoNormal">+ AMD_CG_SUPPORT_IH_CG |</p>
<p class="x_MsoNormal">+ AMD_CG_SUPPORT_VCN_MGCG | AMD_CG_SUPPORT_JPEG_MGCG;</p>
<p class="x_MsoNormal"> adev->pg_flags = AMD_PG_SUPPORT_VCN_DPG;</p>
<p class="x_MsoNormal"> adev->external_rev_id = adev->rev_id + 0x3c;</p>
<p class="x_MsoNormal"> break;</p>
<p class="x_MsoNormal">--</p>
<p class="x_MsoNormal">2.17.1</p>
</div>
</div>
</div>
</body>
</html>