Re: [PATCH] drm/amd/amdgpu: align the cg and pg settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 27, 2022 at 5:46 AM Kenneth Feng <kenneth.feng@xxxxxxx> wrote:
>
> align the cg and pg settings between gc_v11_0 and gc_v11_2
>
> Signed-off-by: Kenneth Feng <kenneth.feng@xxxxxxx>

Reviewed-by: Alex Deucher <alexander.deucher@xxxxxxx>

> ---
>  drivers/gpu/drm/amd/amdgpu/soc21.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
> index 5566ddbfd188..26fda7a170da 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc21.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
> @@ -546,12 +546,17 @@ static int soc21_common_early_init(void *handle)
>                 adev->cg_flags =
>                         AMD_CG_SUPPORT_GFX_CGCG |
>                         AMD_CG_SUPPORT_GFX_CGLS |
> +                       AMD_CG_SUPPORT_REPEATER_FGCG |
>                         AMD_CG_SUPPORT_VCN_MGCG |
> -                       AMD_CG_SUPPORT_JPEG_MGCG;
> +                       AMD_CG_SUPPORT_JPEG_MGCG |
> +                       AMD_CG_SUPPORT_ATHUB_MGCG |
> +                       AMD_CG_SUPPORT_ATHUB_LS;
>                 adev->pg_flags =
>                         AMD_PG_SUPPORT_VCN |
>                         AMD_PG_SUPPORT_VCN_DPG |
> -                       AMD_PG_SUPPORT_JPEG;
> +                       AMD_PG_SUPPORT_JPEG |
> +                       AMD_PG_SUPPORT_ATHUB |
> +                       AMD_PG_SUPPORT_MMHUB;
>                 adev->external_rev_id = adev->rev_id + 0x10;
>                 break;
>         default:
> --
> 2.25.1
>



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux