<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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:#0078D7;margin:15pt;" align="Left">
[AMD Official Use Only - Internal Distribution Only]<br>
</p>
<br>
<div>Enable VCN 3.0 PG and CG for Vangogh by setting up flags.
<div><br>
</div>
<div>Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com></div>
<div>---</div>
<div> drivers/gpu/drm/amd/amdgpu/nv.c | 9 +++++++--</div>
<div> 1 file changed, 7 insertions(+), 2 deletions(-)</div>
<div><br>
</div>
<div>diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c</div>
<div>index 4b1a4acb60d9..ce787489aaeb 100644</div>
<div>--- a/drivers/gpu/drm/amd/amdgpu/nv.c</div>
<div>+++ b/drivers/gpu/drm/amd/amdgpu/nv.c</div>
<div>@@ -938,8 +938,13 @@ static int nv_common_early_init(void *handle)</div>
<div> adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG |</div>
<div> AMD_CG_SUPPORT_GFX_CGLS |</div>
<div> AMD_CG_SUPPORT_GFX_3D_CGCG |</div>
<div>- AMD_CG_SUPPORT_GFX_3D_CGLS;</div>
<div>- adev->pg_flags = AMD_PG_SUPPORT_GFX_PG;</div>
<div>+ AMD_CG_SUPPORT_GFX_3D_CGLS |</div>
<div>+ AMD_CG_SUPPORT_VCN_MGCG |</div>
<div>+ AMD_CG_SUPPORT_JPEG_MGCG;</div>
<div>+ adev->pg_flags = AMD_PG_SUPPORT_GFX_PG |</div>
<div>+ AMD_PG_SUPPORT_VCN |</div>
<div>+ AMD_PG_SUPPORT_VCN_DPG |</div>
<div>+ AMD_PG_SUPPORT_JPEG;</div>
<div> adev->external_rev_id = adev->rev_id + 0x01;</div>
<div> break;</div>
<div>-- </div>
2.25.1<br>
</div>
</body>
</html>