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 Fiji

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
bd6080d6 d573de2d

+1 -1
+1 -1
drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c
··· 4314 4314 4315 4315 if (data->need_update_smu7_dpm_table & 4316 4316 (DPMTABLE_OD_UPDATE_SCLK + DPMTABLE_UPDATE_SCLK)) { 4317 - result = fiji_populate_all_memory_levels(hwmgr); 4317 + result = fiji_populate_all_graphic_levels(hwmgr); 4318 4318 PP_ASSERT_WITH_CODE((0 == result), 4319 4319 "Failed to populate SCLK during PopulateNewDPMClocksStates Function!", 4320 4320 return result);