diff options
author | Evan Quan <evan.quan@amd.com> | 2020-04-30 11:15:19 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-05-06 16:50:51 -0400 |
commit | 2536c4b0dd88d1f9031285bbfe9e6986790ce056 (patch) | |
tree | 30c805af2bdfb5b2b8bffdccec54d293a439fc8a /drivers/gpu/drm | |
parent | 9d11eb0d0c4659c6414b22d86b7f8813e254dcba (diff) | |
download | linux-stable-2536c4b0dd88d1f9031285bbfe9e6986790ce056.tar.gz linux-stable-2536c4b0dd88d1f9031285bbfe9e6986790ce056.tar.bz2 linux-stable-2536c4b0dd88d1f9031285bbfe9e6986790ce056.zip |
drm/amdgpu: disable MGCG/MGLS also on gfx CG ungate
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 & |