From: Evan Quan Date: Thu, 30 Apr 2020 03:15:19 +0000 (+0800) Subject: drm/amdgpu: disable MGCG/MGLS also on gfx CG ungate X-Git-Tag: block-5.8-2020-06-11~21^2~11^2~29 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2536c4b0dd88d1f9031285bbfe9e6986790ce056;p=linux-block.git drm/amdgpu: disable MGCG/MGLS also on gfx CG ungate Otherwise, MGCG/MGLS will be left enabled. Signed-off-by: Evan Quan Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c index 38f704705dbc..d34c1e9fde97 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c @@ -7015,7 +7015,7 @@ static int gfx_v10_0_update_gfx_clock_gating(struct amdgpu_device *adev, /* === CGCG /CGLS for GFX 3D Only === */ gfx_v10_0_update_3d_clock_gating(adev, enable); /* === MGCG + MGLS === */ - /* gfx_v10_0_update_medium_grain_clock_gating(adev, enable); */ + gfx_v10_0_update_medium_grain_clock_gating(adev, enable); } if (adev->cg_flags &