Skip to content

Commit 1f7cfaa

Browse files
committed
drm/amdgpu/smu7: fix CAC setting on TOPAZ
We need to enable MC CAC for mclk switching to work. Fixes: d765129 ("drm/amd/pm: correct sclk/mclk dpm enablement") Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1561 Tested-by: Konstantin Kharlamov <[email protected]> Reviewed-by: Evan Quan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 79f0253 commit 1f7cfaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,8 @@ static int smu7_enable_sclk_mclk_dpm(struct pp_hwmgr *hwmgr)
12241224
(hwmgr->chip_id == CHIP_POLARIS10) ||
12251225
(hwmgr->chip_id == CHIP_POLARIS11) ||
12261226
(hwmgr->chip_id == CHIP_POLARIS12) ||
1227-
(hwmgr->chip_id == CHIP_TONGA))
1227+
(hwmgr->chip_id == CHIP_TONGA) ||
1228+
(hwmgr->chip_id == CHIP_TOPAZ))
12281229
PHM_WRITE_FIELD(hwmgr->device, MC_SEQ_CNTL_3, CAC_EN, 0x1);
12291230

12301231

0 commit comments

Comments
 (0)