From: Tao Zhou Date: Fri, 19 Mar 2021 06:29:28 +0000 (+0800) Subject: drm/amdgpu: enable athub/mmhub PG for beige_goby X-Git-Tag: v5.14-rc1~114^2~20^2~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=147de218c23186f403922d7ea4cb168076224830;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: enable athub/mmhub PG for beige_goby Enable athub/mmhub power gating 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 777998b06b708..6a31733654e0b 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -1282,7 +1282,9 @@ static int nv_common_early_init(void *handle) AMD_CG_SUPPORT_GFX_CGCG | AMD_CG_SUPPORT_GFX_3D_CGCG; adev->pg_flags = AMD_PG_SUPPORT_VCN | - AMD_PG_SUPPORT_VCN_DPG; + AMD_PG_SUPPORT_VCN_DPG | + AMD_PG_SUPPORT_ATHUB | + AMD_PG_SUPPORT_MMHUB; adev->external_rev_id = adev->rev_id + 0x46; break; default: