[PATCH] drm/amdgpu: enable MGCG for PCO
Huang, Ray
Ray.Huang at amd.com
Fri Apr 19 08:00:48 UTC 2019
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of likun Gao
> Sent: Friday, April 19, 2019 3:21 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Huan, Alvin <Alvin.Huan at amd.com>; Zhou, Hang
> <Hang.Zhou at amd.com>; Huang, Ray <Ray.Huang at amd.com>; Gao, Likun
> <Likun.Gao at amd.com>
> Subject: [PATCH] drm/amdgpu: enable MGCG for PCO
>
> From: Likun Gao <Likun.Gao at amd.com>
>
> Enable MGCG for picasso.
>
> Signed-off-by: Likun Gao <Likun.Gao at amd.com>
Reviewed-by: Huang Rui <ray.huang at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/soc15.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c
> b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index a136632..4900e49 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -901,7 +901,8 @@ static int soc15_common_early_init(void *handle)
>
> adev->pg_flags = AMD_PG_SUPPORT_SDMA |
> AMD_PG_SUPPORT_VCN;
> } else if (adev->pdev->device == 0x15d8) {
> - adev->cg_flags = AMD_CG_SUPPORT_GFX_MGLS |
> + adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
> + AMD_CG_SUPPORT_GFX_MGLS |
> AMD_CG_SUPPORT_GFX_CP_LS |
> AMD_CG_SUPPORT_GFX_3D_CGCG |
> AMD_CG_SUPPORT_GFX_3D_CGLS |
> --
> 2.7.4
>
> _______________________________________________
> 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