diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4054-drm-amd-pp-Workaround-flickering-issue-on-RV.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4054-drm-amd-pp-Workaround-flickering-issue-on-RV.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4054-drm-amd-pp-Workaround-flickering-issue-on-RV.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4054-drm-amd-pp-Workaround-flickering-issue-on-RV.patch new file mode 100644 index 00000000..9d5636fa --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4054-drm-amd-pp-Workaround-flickering-issue-on-RV.patch @@ -0,0 +1,34 @@ +From fcf15daa1f07a125b5d3704578715d6059b8fe66 Mon Sep 17 00:00:00 2001 +From: Rex Zhu <Rex.Zhu@amd.com> +Date: Mon, 14 May 2018 16:03:01 +0800 +Subject: [PATCH 4054/4131] drm/amd/pp: Workaround flickering issue on RV + +Screen flickering observed while running 1080p video using +MPV_VAAPI/VDPAU with 4x4K@60 monitors + +Need to set higher mclk in this configuration. + +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> +--- + drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c +index 26dbab7..6ab1a57 100644 +--- a/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c ++++ b/drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c +@@ -598,7 +598,10 @@ static int smu10_dpm_force_dpm_level(struct pp_hwmgr *hwmgr, + SMU10_UMD_PSTATE_MIN_GFXCLK); + smum_send_msg_to_smc_with_parameter(hwmgr, + PPSMC_MSG_SetHardMinFclkByFreq, ++ hwmgr->display_config->num_display > 3 ? ++ SMU10_UMD_PSTATE_PEAK_FCLK : + SMU10_UMD_PSTATE_MIN_FCLK); ++ + smum_send_msg_to_smc_with_parameter(hwmgr, + PPSMC_MSG_SetHardMinSocclkByFreq, + SMU10_UMD_PSTATE_MIN_SOCCLK); +-- +2.7.4 + |