aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0178-drm-amd-display-enable-color-gamma-programming.patch
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-08-28 14:52:21 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-08-28 15:24:40 +0500
commitcc5953c3a2f348543ed44492244627ee0de76239 (patch)
tree23430cd57f73086e7176e8be4375e5ad3b4079c0 /meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0178-drm-amd-display-enable-color-gamma-programming.patch
parent4149413febf799293758015e230e0ce865ed9cb5 (diff)
downloadmeta-amd-cc5953c3a2f348543ed44492244627ee0de76239.tar.gz
meta-amd-cc5953c3a2f348543ed44492244627ee0de76239.tar.bz2
meta-amd-cc5953c3a2f348543ed44492244627ee0de76239.zip
common: rename to meta-amd-bsp
This renames common layers to meta-amd-bsp as it is going to hold all the bsps in it in the following commits. This also changes the layer title in layer.conf from "amd" to "amd-bsp" Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0178-drm-amd-display-enable-color-gamma-programming.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0178-drm-amd-display-enable-color-gamma-programming.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0178-drm-amd-display-enable-color-gamma-programming.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0178-drm-amd-display-enable-color-gamma-programming.patch
new file mode 100644
index 00000000..bd8378d5
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0178-drm-amd-display-enable-color-gamma-programming.patch
@@ -0,0 +1,53 @@
+From 1dbae8a6de541d24f8e1e3cca9a32e33c5b44398 Mon Sep 17 00:00:00 2001
+From: Tony Cheng <tony.cheng@amd.com>
+Date: Mon, 23 Jan 2017 17:51:17 -0500
+Subject: [PATCH 0178/4131] drm/amd/display: enable color gamma programming
+
+Signed-off-by: Tony Cheng <tony.cheng@amd.com>
+Reviewed-by: Yongqiang Sun <yongqiang.sun@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/core/dc.c | 6 ------
+ drivers/gpu/drm/amd/display/dc/dc.h | 1 -
+ 2 files changed, 7 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
+index 01d6147..c627b90 100644
+--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
+@@ -1498,9 +1498,6 @@ void dc_update_surfaces_for_stream(struct dc *dc,
+ }
+ }
+
+- if (dc->debug.disable_color_module)
+- continue; /* skip below color updates */
+-
+ if (updates[i].gamma &&
+ updates[i].gamma != surface->public.gamma_correction) {
+ if (surface->public.gamma_correction != NULL)
+@@ -1579,9 +1576,6 @@ void dc_update_surfaces_for_stream(struct dc *dc,
+ if (cur_pipe_ctx->surface == pipe_ctx->surface)
+ is_new_pipe_surface = false;
+
+- if (dc->debug.disable_color_module)
+- continue; /* skip below color updates */
+-
+ if (is_new_pipe_surface ||
+ updates[i].in_transfer_func)
+ core_dc->hwss.set_input_transfer_func(
+diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
+index c3aca8d..f485f70 100644
+--- a/drivers/gpu/drm/amd/display/dc/dc.h
++++ b/drivers/gpu/drm/amd/display/dc/dc.h
+@@ -147,7 +147,6 @@ struct dc_debug {
+ bool disable_dfs_bypass;
+ bool disable_clock_gate;
+ bool disable_dmcu;
+- bool disable_color_module;
+ };
+
+ struct dc {
+--
+2.7.4
+