Skip to content

Commit f8f5468

Browse files
alexdeuchergregkh
authored andcommitted
drm/amdgpu/pm: align Hawaii mclk workaround with radeon
commit 1987c79 upstream. Align the hawaii mclk workaround with radeon and windows. Link: https://gitlab.freedesktop.org/drm/amd/-/work_items/1816 Fixes: 9f4b354 ("drm/amd/powerplay: add CI asics support to smumgr (v3)") Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 9649528) Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 6fed6e9 commit f8f5468

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,10 +1329,10 @@ static int ci_populate_all_memory_levels(struct pp_hwmgr *hwmgr)
13291329
if ((dpm_table->mclk_table.count >= 2) &&
13301330
((dev_id == 0x67B0) || (dev_id == 0x67B1)) &&
13311331
(adev->pdev->revision == 0)) {
1332-
smu_data->smc_state_table.MemoryLevel[1].MinVddci =
1333-
smu_data->smc_state_table.MemoryLevel[0].MinVddci;
1334-
smu_data->smc_state_table.MemoryLevel[1].MinMvdd =
1335-
smu_data->smc_state_table.MemoryLevel[0].MinMvdd;
1332+
smu_data->smc_state_table.MemoryLevel[1].MinVddc =
1333+
smu_data->smc_state_table.MemoryLevel[0].MinVddc;
1334+
smu_data->smc_state_table.MemoryLevel[1].MinVddcPhases =
1335+
smu_data->smc_state_table.MemoryLevel[0].MinVddcPhases;
13361336
}
13371337
smu_data->smc_state_table.MemoryLevel[0].ActivityLevel = 0x1F;
13381338
CONVERT_FROM_HOST_TO_SMC_US(smu_data->smc_state_table.MemoryLevel[0].ActivityLevel);

0 commit comments

Comments
 (0)