mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 09:21:34 -04:00
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: Alvin Lee <alvin.lee2@amd.com> Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com> Signed-off-by: Dillon Varone <dillon.varone@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
d6b54900c5
commit
ea9b3dbc71
@@ -940,7 +940,7 @@ static unsigned int dcn401_build_update_bandwidth_clocks_sequence(
|
||||
}
|
||||
|
||||
/* 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.fclk_mhz = idle_fclk_mhz;
|
||||
block_sequence[num_steps].func = CLK_MGR401_UPDATE_IDLE_HARDMINS;
|
||||
|
||||
Reference in New Issue
Block a user