diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5498-drm-amd-display-HLK-Periodic-Frame-Notification-test.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/5498-drm-amd-display-HLK-Periodic-Frame-Notification-test.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5498-drm-amd-display-HLK-Periodic-Frame-Notification-test.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5498-drm-amd-display-HLK-Periodic-Frame-Notification-test.patch new file mode 100644 index 00000000..11c1ecc2 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5498-drm-amd-display-HLK-Periodic-Frame-Notification-test.patch @@ -0,0 +1,36 @@ +From 5d99868cb5063852ccfe8d0e9f249baded91dc4c Mon Sep 17 00:00:00 2001 +From: Murton Liu <murton.liu@amd.com> +Date: Wed, 19 Sep 2018 14:31:12 -0400 +Subject: [PATCH 5498/5725] drm/amd/display: HLK Periodic Frame Notification + test failed + +[Why] +Due to a small pre-fetch window, the active vline timing is a couple +of lines off when compared to what it should be. + +[How] +Changed the calculation for the start vline to account for this window. + +Signed-off-by: Murton Liu <murton.liu@amd.com> +Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> +Acked-by: Leo Li <sunpeng.li@amd.com> +--- + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c +index ad46294..5462668 100644 +--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c ++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c +@@ -150,7 +150,7 @@ void optc1_program_vline_interrupt( + req_delta_lines--; + + if (req_delta_lines > vsync_line) +- start_line = dc_crtc_timing->v_total - (req_delta_lines - vsync_line) - 1; ++ start_line = dc_crtc_timing->v_total - (req_delta_lines - vsync_line) + 2; + else + start_line = vsync_line - req_delta_lines; + +-- +2.7.4 + |