[PATCH] drm/amd/amdgpu: enable athub cg on gc 11.0.3

Alex Deucher alexdeucher at gmail.com
Thu Feb 2 15:53:34 UTC 2023


On Thu, Feb 2, 2023 at 2:51 AM Kenneth Feng <kenneth.feng at amd.com> wrote:
>
> enable athub cg on gc 11.0.3
>
> Signed-off-by: Kenneth Feng <kenneth.feng at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/soc21.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
> index 2ea0b9142868..0615fdbf0a64 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc21.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
> @@ -677,7 +677,9 @@ static int soc21_common_early_init(void *handle)
>                         AMD_CG_SUPPORT_GFX_CGCG |
>                         AMD_CG_SUPPORT_GFX_CGLS |
>                         AMD_CG_SUPPORT_REPEATER_FGCG |
> -                       AMD_CG_SUPPORT_GFX_MGCG;
> +                       AMD_CG_SUPPORT_GFX_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;
> --
> 2.25.1
>


More information about the amd-gfx mailing list