mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02: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:
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user