aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0568-drm-amd-display-Set-static-screen-register-for-stone.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0568-drm-amd-display-Set-static-screen-register-for-stone.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0568-drm-amd-display-Set-static-screen-register-for-stone.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0568-drm-amd-display-Set-static-screen-register-for-stone.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0568-drm-amd-display-Set-static-screen-register-for-stone.patch
new file mode 100644
index 00000000..4c323c29
--- /dev/null
+++ b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0568-drm-amd-display-Set-static-screen-register-for-stone.patch
@@ -0,0 +1,35 @@
+From 661e0a9f007c603d077bf0d70a70d13f867c24f5 Mon Sep 17 00:00:00 2001
+From: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
+Date: Fri, 30 Jun 2017 15:19:55 -0400
+Subject: [PATCH 0568/4131] drm/amd/display: Set static screen register for
+ stoney/carrizo
+
+-Set CRTC_STATIC_SCREEN_EVENT for stoney/carrizo for FBC implementation
+-Code is currently guarded with "ENABLE_FBC" compile time flag
+
+Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
+Reviewed-by: Roman Li <Roman.Li@amd.com>
+Acked-by: Harry Wentland <Harry.Wentland@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+index 72d5f75..8778af7 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
++++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+@@ -1395,6 +1395,10 @@ static void set_static_screen_control(struct pipe_ctx **pipe_ctx,
+ if (events->cursor_update)
+ value |= 0x2;
+
++#ifdef ENABLE_FBC
++ value |= 0x84;
++#endif
++
+ for (i = 0; i < num_pipes; i++)
+ pipe_ctx[i]->tg->funcs->
+ set_static_screen_control(pipe_ctx[i]->tg, value);
+--
+2.7.4
+