Skip to content

Commit 5cda56b

Browse files
Kenneth Fengalexdeucher
authored andcommitted
drm/amd/amdgpu: change the config of cgcg on gfx12
change the config of cgcg on gfx12 Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Yang Wang <kevinyang.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 6.12.x
1 parent f214b7b commit 5cda56b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4021,17 +4021,6 @@ static void gfx_v12_0_update_coarse_grain_clock_gating(struct amdgpu_device *ade
40214021

40224022
if (def != data)
40234023
WREG32_SOC15(GC, 0, regRLC_CGCG_CGLS_CTRL_3D, data);
4024-
4025-
data = RREG32_SOC15(GC, 0, regSDMA0_RLC_CGCG_CTRL);
4026-
data &= ~SDMA0_RLC_CGCG_CTRL__CGCG_INT_ENABLE_MASK;
4027-
WREG32_SOC15(GC, 0, regSDMA0_RLC_CGCG_CTRL, data);
4028-
4029-
/* Some ASICs only have one SDMA instance, not need to configure SDMA1 */
4030-
if (adev->sdma.num_instances > 1) {
4031-
data = RREG32_SOC15(GC, 0, regSDMA1_RLC_CGCG_CTRL);
4032-
data &= ~SDMA1_RLC_CGCG_CTRL__CGCG_INT_ENABLE_MASK;
4033-
WREG32_SOC15(GC, 0, regSDMA1_RLC_CGCG_CTRL, data);
4034-
}
40354024
}
40364025
}
40374026

0 commit comments

Comments
 (0)