Commit ea9b3dbc authored by Dillon Varone's avatar Dillon Varone Committed by Alex Deucher

drm/amd/display: Update idle hardmins if uclk or fclk requirement changed

[WHY&HOW]
Update the idle hardmin with SMU if either clock changed.
Reviewed-by: default avatarAlvin Lee <alvin.lee2@amd.com>
Acked-by: default avatarZaeem Mohamed <zaeem.mohamed@amd.com>
Signed-off-by: default avatarDillon Varone <dillon.varone@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d6b54900
...@@ -940,7 +940,7 @@ static unsigned int dcn401_build_update_bandwidth_clocks_sequence( ...@@ -940,7 +940,7 @@ static unsigned int dcn401_build_update_bandwidth_clocks_sequence(
} }
/* CLK_MGR401_UPDATE_IDLE_HARDMINS */ /* CLK_MGR401_UPDATE_IDLE_HARDMINS */
if (update_idle_uclk && is_idle_dpm_enabled) { if ((update_idle_uclk || update_idle_fclk) && is_idle_dpm_enabled) {
block_sequence[num_steps].params.update_idle_hardmin_params.uclk_mhz = idle_uclk_mhz; block_sequence[num_steps].params.update_idle_hardmin_params.uclk_mhz = idle_uclk_mhz;
block_sequence[num_steps].params.update_idle_hardmin_params.fclk_mhz = idle_fclk_mhz; block_sequence[num_steps].params.update_idle_hardmin_params.fclk_mhz = idle_fclk_mhz;
block_sequence[num_steps].func = CLK_MGR401_UPDATE_IDLE_HARDMINS; block_sequence[num_steps].func = CLK_MGR401_UPDATE_IDLE_HARDMINS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment