From 8db63b7c38217df3dc5501ca0371a58bd912c9ea Mon Sep 17 00:00:00 2001 From: Prike Liang Date: Fri, 2 Aug 2019 15:32:57 +0800 Subject: [PATCH] drm/amdgpu: enable DF clock gating for rn Enable DF clock gating during DF IP early init. Signed-off-by: Prike Liang Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- 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 50242384a163..c367b5f1b395 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -1172,7 +1172,8 @@ static int soc15_common_early_init(void *handle) AMD_CG_SUPPORT_VCN_MGCG | AMD_CG_SUPPORT_IH_CG | AMD_CG_SUPPORT_ATHUB_LS | - AMD_CG_SUPPORT_ATHUB_MGCG; + AMD_CG_SUPPORT_ATHUB_MGCG | + AMD_CG_SUPPORT_DF_MGCG; adev->pg_flags = 0; adev->external_rev_id = adev->rev_id + 0x91; -- 2.30.2