mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 09:34:51 +07:00
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>
This commit is contained in:
parent
9d11eb0d0c
commit
2536c4b0dd
@ -7015,7 +7015,7 @@ static int gfx_v10_0_update_gfx_clock_gating(struct amdgpu_device *adev,
|
|||||||
/* === CGCG /CGLS for GFX 3D Only === */
|
/* === CGCG /CGLS for GFX 3D Only === */
|
||||||
gfx_v10_0_update_3d_clock_gating(adev, enable);
|
gfx_v10_0_update_3d_clock_gating(adev, enable);
|
||||||
/* === MGCG + MGLS === */
|
/* === 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 &
|
if (adev->cg_flags &
|
||||||
|
Loading…
Reference in New Issue
Block a user