Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/powerplay: fix a bug on updating sclk for Tonga

Update sclk smc table rather than mclk smc table for sclk updates.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Eric Huang <JinHuiEric.Huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Eric Huang and committed by
Alex Deucher
e2ed8a13 bd6080d6

+1 -1
+1 -1
drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c
··· 5445 5445 } 5446 5446 5447 5447 if (data->need_update_smu7_dpm_table & (DPMTABLE_OD_UPDATE_SCLK + DPMTABLE_UPDATE_SCLK)) { 5448 - result = tonga_populate_all_memory_levels(hwmgr); 5448 + result = tonga_populate_all_graphic_levels(hwmgr); 5449 5449 PP_ASSERT_WITH_CODE((0 == result), 5450 5450 "Failed to populate SCLK during PopulateNewDPMClocksStates Function!", 5451 5451 return result);