[PATCH 3/3] drm/amd/powerplay: enable jpeg powergating for navi1x

Alex Deucher alexdeucher at gmail.com
Tue Aug 27 18:35:28 UTC 2019


Series is:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>

On Tue, Aug 27, 2019 at 3:20 AM Yuan, Xiaojie <Xiaojie.Yuan at amd.com> wrote:
>
> jpeg pg depends on vcn pg
>
> Signed-off-by: Xiaojie Yuan <xiaojie.yuan at amd.com>
> ---
>  drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
> index 2d908afbf525..1970843f225f 100644
> --- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
> +++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c
> @@ -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
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list