drm/amdgpu: enable VCN DPG on Raven and Raven2
Subsystems (2)
PATCH 1/1 drm/amdgpu: enable VCN DPG on Raven and Raven2
It's safe to enable dynamic VCN powergating on raven and raven2 for increased power savings.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/soc15.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/soc15.c +6 -2
@@ -1105,7 +1105,9 @@ static int soc15_common_early_init(void *handle)AMD_CG_SUPPORT_SDMA_LS |AMD_CG_SUPPORT_VCN_MGCG ; - adev->pg_flags =AMD_PG_SUPPORT_SDMA |AMD_PG_SUPPORT_VCN ; + adev->pg_flags =AMD_PG_SUPPORT_SDMA | +AMD_PG_SUPPORT_VCN | +AMD_PG_SUPPORT_VCN_DPG ; }else if (adev->pdev->device ==0x15d8 ) { adev->cg_flags =AMD_CG_SUPPORT_GFX_MGCG | AMD_CG_SUPPORT_GFX_MGLS |
@@ -1148,7 +1150,9 @@ static int soc15_common_early_init(void *handle)AMD_CG_SUPPORT_SDMA_LS |AMD_CG_SUPPORT_VCN_MGCG ; - adev->pg_flags =AMD_PG_SUPPORT_SDMA |AMD_PG_SUPPORT_VCN ; + adev->pg_flags =AMD_PG_SUPPORT_SDMA | +AMD_PG_SUPPORT_VCN | +AMD_PG_SUPPORT_VCN_DPG ; }break ;case CHIP_ARCTURUS :
Signature · 6 lines
2.23.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20191031144341.752222-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org
James Zhu
Reviewed-byReviewed-by James Zhu <[email protected]>
Quoted 24 lines · Alex Deucher
It's safe to enable dynamic VCN powergating on raven and raven2 for increased power savings.
Signed-off-by Alex Deucher <[email protected]>--- drivers/gpu/drm/amd/amdgpu/soc15.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)drivers/gpu/drm/amd/amdgpu/soc15.c +3
-1@@ -1105,7 +1105,9 @@ static int soc15_common_early_init(void *handle)AMD_CG_SUPPORT_SDMA_LS |AMD_CG_SUPPORT_VCN_MGCG ; - adev->pg_flags =AMD_PG_SUPPORT_SDMA |AMD_PG_SUPPORT_VCN ; + adev->pg_flags =AMD_PG_SUPPORT_SDMA | +AMD_PG_SUPPORT_VCN | +AMD_PG_SUPPORT_VCN_DPG ; }else if (adev->pdev->device ==0x15d8 ) { adev->cg_flags =AMD_CG_SUPPORT_GFX_MGCG | AMD_CG_SUPPORT_GFX_MGLS |
drivers/gpu/drm/amd/amdgpu/soc15.c static int soc15_common_early_init(void *handle) · line 1158
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/soc15.c +3
-1@@ -1148,7 +1150,9 @@ static int soc15_common_early_init(void *handle)AMD_CG_SUPPORT_SDMA_LS |AMD_CG_SUPPORT_VCN_MGCG ; - adev->pg_flags =AMD_PG_SUPPORT_SDMA |AMD_PG_SUPPORT_VCN ; + adev->pg_flags =AMD_PG_SUPPORT_SDMA | +AMD_PG_SUPPORT_VCN | +AMD_PG_SUPPORT_VCN_DPG ; }break ;case CHIP_ARCTURUS :
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx