aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0672-drm-amd-display-move-ocsc-programming-from-opp-to-dp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0672-drm-amd-display-move-ocsc-programming-from-opp-to-dp.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0672-drm-amd-display-move-ocsc-programming-from-opp-to-dp.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0672-drm-amd-display-move-ocsc-programming-from-opp-to-dp.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0672-drm-amd-display-move-ocsc-programming-from-opp-to-dp.patch
new file mode 100644
index 00000000..0688d407
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0672-drm-amd-display-move-ocsc-programming-from-opp-to-dp.patch
@@ -0,0 +1,30 @@
+From ded58982f0d548b1afeee8a6e3a32c808d07a964 Mon Sep 17 00:00:00 2001
+From: Yue Hin Lau <Yuehin.Lau@amd.com>
+Date: Tue, 25 Jul 2017 16:02:33 -0400
+Subject: [PATCH 0672/4131] drm/amd/display: move ocsc programming from opp to
+ dpp
+
+Signed-off-by: Yue Hin Lau <Yuehin.Lau@amd.com>
+Reviewed-by: Tony Cheng <Tony.Cheng@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/dcn10/dcn10_hw_sequencer.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
+index bbe3e87..7c24e8f 100644
+--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
+@@ -1809,7 +1809,7 @@ static void program_csc_matrix(struct pipe_ctx *pipe_ctx,
+
+ tbl_entry.color_space = color_space;
+ //tbl_entry.regval = matrix;
+- pipe_ctx->opp->funcs->opp_set_csc_adjustment(pipe_ctx->opp, &tbl_entry);
++ pipe_ctx->xfm->funcs->opp_set_csc_adjustment(pipe_ctx->xfm, &tbl_entry);
+ }
+ }
+ static bool is_lower_pipe_tree_visible(struct pipe_ctx *pipe_ctx)
+--
+2.7.4
+