drm/amdgpu: enable vcn powergating for navi12
Subsystems (2)
PATCH 1/3 drm/amdgpu: enable vcn powergating for navi12
Signed-off-by Xiaojie Yuan <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/nv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/nv.c +2 -1
@@ -649,7 +649,8 @@ static int nv_common_early_init(void *handle)AMD_CG_SUPPORT_ATHUB_MGCG |AMD_CG_SUPPORT_ATHUB_LS |AMD_CG_SUPPORT_VCN_MGCG ; - adev->pg_flags =AMD_PG_SUPPORT_VCN_DPG ; + adev->pg_flags =AMD_PG_SUPPORT_VCN | +AMD_PG_SUPPORT_VCN_DPG ; adev->external_rev_id = adev->rev_id +0xa ;break ;default :
Signature · 6 lines
2.20.1 _______________________________________________ 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): [email protected]
PATCH 3/3 drm/amd/powerplay: enable jpeg powergating for navi1x
jpeg pg depends on vcn pg
Signed-off-by Xiaojie Yuan <[email protected]>
--- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/navi10_ppt.c +2 -1
@@ -368,7 +368,8 @@ navi10_get_allowed_feature_mask(struct smu_context *smu, *(uint64_t *)feature_mask |=FEATURE_MASK (FEATURE_ATHUB_PG_BIT );if (smu->adev->pg_flags &AMD_PG_SUPPORT_VCN ) - *(uint64_t *)feature_mask |=FEATURE_MASK (FEATURE_VCN_PG_BIT ); + *(uint64_t *)feature_mask |=FEATURE_MASK (FEATURE_VCN_PG_BIT ) + |FEATURE_MASK (FEATURE_JPEG_PG_BIT );/* disable DPM UCLK and DS SOCCLK on navi10 A0 secure board */ if (is_asic_secure (smu)) {
Signature · 6 lines
2.20.1 _______________________________________________ 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): [email protected]
Alex Deucher
Reviewed-byRe: [PATCH 3/3] drm/amd/powerplay: enable jpeg powergating for navi1x
Series is:
Reviewed-by Alex Deucher <[email protected]>
Quoted 25 lines · Xiaojie
jpeg pg depends on vcn pg
Signed-off-by Xiaojie Yuan <[email protected]>--- drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/amd/powerplay/navi10_ppt.c +2
-2@@ -368,7 +368,8 @@ navi10_get_allowed_feature_mask(struct smu_context *smu, *(uint64_t *)feature_mask |=FEATURE_MASK (FEATURE_ATHUB_PG_BIT );if (smu->adev->pg_flags &AMD_PG_SUPPORT_VCN ) - *(uint64_t *)feature_mask |=FEATURE_MASK (FEATURE_VCN_PG_BIT ); + *(uint64_t *)feature_mask |=FEATURE_MASK (FEATURE_VCN_PG_BIT ) + |FEATURE_MASK (FEATURE_JPEG_PG_BIT );/* disable DPM UCLK and DS SOCCLK on navi10 A0 secure board */ if (is_asic_secure (smu)) { --2.20.1
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx