diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4993-drm-amd-powerplay-slow-UCLK-switch-when-multiple-dis.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/4993-drm-amd-powerplay-slow-UCLK-switch-when-multiple-dis.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4993-drm-amd-powerplay-slow-UCLK-switch-when-multiple-dis.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4993-drm-amd-powerplay-slow-UCLK-switch-when-multiple-dis.patch new file mode 100644 index 00000000..a6b6155c --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4993-drm-amd-powerplay-slow-UCLK-switch-when-multiple-dis.patch @@ -0,0 +1,33 @@ +From e5d3dbcfcab546ece75295a90c23e6cd45fd1229 Mon Sep 17 00:00:00 2001 +From: Evan Quan <evan.quan@amd.com> +Date: Fri, 20 Jul 2018 10:13:19 +0800 +Subject: [PATCH 4993/5725] 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> +--- + drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +index ca4e1d9..1ef9ab4 100644 +--- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c ++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +@@ -3799,7 +3799,8 @@ static int vega10_notify_smc_display_config_after_ps_adjustment( + uint32_t i; + 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); + else + vega10_notify_smc_display_change(hwmgr, true); +-- +2.7.4 + |