mirror of https://gitee.com/openkylin/linux.git
drm/amd/display: Notify powerplay the min_dcef clock
powerplay can notify smu to recalculates the maximum deep-sleep divider display allowed. Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7d8d968dac
commit
3180fb676d
|
@ -71,6 +71,11 @@ bool dm_pp_apply_display_requirements(
|
||||||
adev->pm.pm_display_cfg.min_mem_set_clock =
|
adev->pm.pm_display_cfg.min_mem_set_clock =
|
||||||
pp_display_cfg->min_memory_clock_khz/10;
|
pp_display_cfg->min_memory_clock_khz/10;
|
||||||
|
|
||||||
|
adev->pm.pm_display_cfg.min_dcef_deep_sleep_set_clk =
|
||||||
|
pp_display_cfg->min_engine_clock_deep_sleep_khz/10;
|
||||||
|
adev->pm.pm_display_cfg.min_dcef_set_clk =
|
||||||
|
pp_display_cfg->min_dcfclock_khz/10;
|
||||||
|
|
||||||
adev->pm.pm_display_cfg.multi_monitor_in_sync =
|
adev->pm.pm_display_cfg.multi_monitor_in_sync =
|
||||||
pp_display_cfg->all_displays_in_sync;
|
pp_display_cfg->all_displays_in_sync;
|
||||||
adev->pm.pm_display_cfg.min_vblank_time =
|
adev->pm.pm_display_cfg.min_vblank_time =
|
||||||
|
|
Loading…
Reference in New Issue