From: Tao Zhou Date: Fri, 19 Mar 2021 06:37:57 +0000 (+0800) Subject: drm/amdgpu: enable mc CG and LS for beige_goby X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5d36b865e4f77869468d07387672adf08b351a33;p=linux.git drm/amdgpu: enable mc CG and LS for beige_goby Enable mc CG and LS for beige_goby. Signed-off-by: Tao Zhou Reviewed-by: Jiansong Chen Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index 6a31733654e0b..72b81218a9539 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -1280,7 +1280,9 @@ static int nv_common_early_init(void *handle) case CHIP_BEIGE_GOBY: adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | AMD_CG_SUPPORT_GFX_CGCG | - AMD_CG_SUPPORT_GFX_3D_CGCG; + AMD_CG_SUPPORT_GFX_3D_CGCG | + AMD_CG_SUPPORT_MC_MGCG | + AMD_CG_SUPPORT_MC_LS; adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG | AMD_PG_SUPPORT_ATHUB |