From: Jiansong Chen Date: Wed, 8 Jul 2020 10:42:04 +0000 (+0800) Subject: drm/amdgpu: enable athub/mmhub PG for navy_flounder X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=47fc894a8711e9cc22bc3c508d15415c0b191480;p=linux.git drm/amdgpu: enable athub/mmhub PG for navy_flounder Enable athub/mmhub PG by setting the corresponding flags. Actually the enablement is exercised by PMFW. Signed-off-by: Jiansong Chen Reviewed-by: Kenneth Feng Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c index dc4c360e14b81..2f7fc9a5beedf 100644 --- a/drivers/gpu/drm/amd/amdgpu/nv.c +++ b/drivers/gpu/drm/amd/amdgpu/nv.c @@ -786,7 +786,9 @@ static int nv_common_early_init(void *handle) AMD_CG_SUPPORT_JPEG_MGCG; adev->pg_flags = AMD_PG_SUPPORT_VCN | AMD_PG_SUPPORT_VCN_DPG | - AMD_PG_SUPPORT_JPEG; + AMD_PG_SUPPORT_JPEG | + AMD_PG_SUPPORT_ATHUB | + AMD_PG_SUPPORT_MMHUB; adev->external_rev_id = adev->rev_id + 0x32; break;