OSDN Git Service

drm/amdgpu: disable MGCG/MGLS also on gfx CG ungate
authorEvan Quan <evan.quan@amd.com>
Thu, 30 Apr 2020 03:15:19 +0000 (11:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 May 2020 18:44:11 +0000 (14:44 -0400)
Otherwise, MGCG/MGLS will be left enabled.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c

index f92c158..0c98f70 100644 (file)
@@ -4273,7 +4273,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 &