From: Aaron Liu Date: Tue, 5 Jan 2021 09:29:03 +0000 (+0800) Subject: drm/amdgpu: add MMHUB Clock Gating support for yellow carp X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=83ae09b52fc1da2d0082708f5561e50417c2e8c8;p=kernel.git drm/amdgpu: add MMHUB Clock Gating support for yellow carp Add AMD_CG_SUPPORT_MC_MGCG/AMD_CG_SUPPORT_MC_LS support. Signed-off-by: Aaron Liu Reviewed-by: Huang Rui Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index a605cbfd7fc9d..e9e6ac40e75bf 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -1333,7 +1333,9 @@ static int nv_common_early_init(void *handle) AMD_CG_SUPPORT_GFX_3D_CGLS | AMD_CG_SUPPORT_GFX_RLC_LS | AMD_CG_SUPPORT_GFX_CP_LS | - AMD_CG_SUPPORT_GFX_FGCG; + AMD_CG_SUPPORT_GFX_FGCG | + AMD_CG_SUPPORT_MC_MGCG | + AMD_CG_SUPPORT_MC_LS; adev->pg_flags = 0; adev->external_rev_id = adev->rev_id + 0x01; break;