> -----Original Message----- > From: amd-gfx [mailto:amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf > Of likun Gao > Sent: Friday, April 19, 2019 3:21 PM > To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx > Cc: Huan, Alvin <Alvin.Huan@xxxxxxx>; Zhou, Hang > <Hang.Zhou@xxxxxxx>; Huang, Ray <Ray.Huang@xxxxxxx>; Gao, Likun > <Likun.Gao@xxxxxxx> > Subject: [PATCH] drm/amdgpu: enable MGCG for PCO > > From: Likun Gao <Likun.Gao@xxxxxxx> > > Enable MGCG for picasso. > > Signed-off-by: Likun Gao <Likun.Gao@xxxxxxx> Reviewed-by: Huang Rui <ray.huang@xxxxxxx> > --- > 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@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/amd-gfx _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx