mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 22:14:20 +08:00
drm/amd/powerplay: slow UCLK switch when multiple displays not in sync
Slow switch for UCLK when there is multiple displays and they are not in sync. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Rex Zhu <rex.zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
226127a67e
commit
59a8348fc5
@ -3800,7 +3800,8 @@ static int vega10_notify_smc_display_config_after_ps_adjustment(
|
|||||||
uint32_t i;
|
uint32_t i;
|
||||||
struct pp_display_clock_request clock_req;
|
struct pp_display_clock_request clock_req;
|
||||||
|
|
||||||
if (hwmgr->display_config->num_display > 1)
|
if ((hwmgr->display_config->num_display > 1) &&
|
||||||
|
!hwmgr->display_config->multi_monitor_in_sync)
|
||||||
vega10_notify_smc_display_change(hwmgr, false);
|
vega10_notify_smc_display_change(hwmgr, false);
|
||||||
else
|
else
|
||||||
vega10_notify_smc_display_change(hwmgr, true);
|
vega10_notify_smc_display_change(hwmgr, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user