drm/amdgpu: enable vcn pg and cg for vcn 3.1.2
Subsystems (2)
Alex Deucher
maintainerPATCH 1/1 drm/amdgpu: enable vcn pg and cg for vcn 3.1.2
From: Boyuan Zhang <[email protected]>
Enable PG and CG for VCN/JPEG
Signed-off-by Boyuan Zhang <[email protected]>
Reviewed-by Alex Deucher <[email protected]>
Reviewed-by Huang Rui <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/nv.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/nv.c +7 -2
@@ -923,8 +923,13 @@ static int nv_common_early_init(void *handle)AMD_CG_SUPPORT_HDP_LS |AMD_CG_SUPPORT_ATHUB_MGCG |AMD_CG_SUPPORT_ATHUB_LS | -AMD_CG_SUPPORT_IH_CG ; - adev->pg_flags =AMD_PG_SUPPORT_GFX_PG ; +AMD_CG_SUPPORT_IH_CG | +AMD_CG_SUPPORT_VCN_MGCG | +AMD_CG_SUPPORT_JPEG_MGCG ; + adev->pg_flags =AMD_PG_SUPPORT_GFX_PG | +AMD_PG_SUPPORT_VCN | +AMD_PG_SUPPORT_VCN_DPG | +AMD_PG_SUPPORT_JPEG ; adev->external_rev_id = adev->rev_id +0x01 ;break ;case IP_VERSION (10 ,3 ,7 ):
Signature · 1 line
2.35.1