amdgpu/vcn: enable AMD_PG_SUPPORT_VCN
Subsystems (2)
Alex Deucher
maintainerPATCH 1/3 amdgpu/vcn: enable AMD_PG_SUPPORT_VCN
From: "David (Ming Qiang) Wu" <[email protected]>
turn on AMD_PG_SUPPORT_VCN flag for power saving
Signed-off-by David (Ming Qiang) Wu <[email protected]>
Reviewed-by Sonny Jiang <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/soc24.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/soc24.c +1 -1
@@ -359,7 +359,7 @@ static int soc24_common_early_init(void *handle)break ;case IP_VERSION (12 ,0 ,1 ): adev->cg_flags =0 ; - adev->pg_flags =0 ; + adev->pg_flags =AMD_PG_SUPPORT_VCN ; adev->external_rev_id = adev->rev_id +0x50 ; adev->cg_flags =AMD_CG_SUPPORT_GFX_CGCG |AMD_CG_SUPPORT_GFX_CGLS ;
Signature · 1 line
2.44.0
Alex Deucher
maintainerPATCH 2/3 drm/amdgpu/jpeg5: enable power gating
From: Sonny Jiang <[email protected]>
Enable PG on JPEG5
Signed-off-by Sonny Jiang <[email protected]>
Reviewed-by Leo Liu <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/soc24.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/soc24.c +2 -1
@@ -359,7 +359,8 @@ static int soc24_common_early_init(void *handle)break ;case IP_VERSION (12 ,0 ,1 ): adev->cg_flags =0 ; - adev->pg_flags =AMD_PG_SUPPORT_VCN ; + adev->pg_flags =AMD_PG_SUPPORT_VCN | +AMD_PG_SUPPORT_JPEG ; adev->external_rev_id = adev->rev_id +0x50 ; adev->cg_flags =AMD_CG_SUPPORT_GFX_CGCG |AMD_CG_SUPPORT_GFX_CGLS ;
Signature · 1 line
2.44.0
Alex Deucher
maintainerPATCH 3/3 drm/amdgpu/vcn5: enable DPG mode support
In reply to Alex DeucherFrom: Sonny Jiang <[email protected]>
Enable DPG mode
Signed-off-by Sonny Jiang <[email protected]>
Reviewed-by Leo Liu <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/soc24.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/soc24.c +2 -1
@@ -360,7 +360,8 @@ static int soc24_common_early_init(void *handle)case IP_VERSION (12 ,0 ,1 ): adev->cg_flags =0 ; adev->pg_flags =AMD_PG_SUPPORT_VCN | -AMD_PG_SUPPORT_JPEG ; +AMD_PG_SUPPORT_JPEG | +AMD_PG_SUPPORT_VCN_DPG ; adev->external_rev_id = adev->rev_id +0x50 ; adev->cg_flags =AMD_CG_SUPPORT_GFX_CGCG |AMD_CG_SUPPORT_GFX_CGLS ;
Signature · 1 line
2.44.0