aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0184-drm-amd-display-Expose-hw-sequencer-gamma-function.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0184-drm-amd-display-Expose-hw-sequencer-gamma-function.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0184-drm-amd-display-Expose-hw-sequencer-gamma-function.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0184-drm-amd-display-Expose-hw-sequencer-gamma-function.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0184-drm-amd-display-Expose-hw-sequencer-gamma-function.patch
new file mode 100644
index 00000000..ce5160b4
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0184-drm-amd-display-Expose-hw-sequencer-gamma-function.patch
@@ -0,0 +1,43 @@
+From 4a31fda3e02bc3b9c339c74354e7197631fe6bac Mon Sep 17 00:00:00 2001
+From: Yongqiang Sun <yongqiang.sun@amd.com>
+Date: Wed, 25 Jan 2017 14:51:39 -0500
+Subject: [PATCH 0184/4131] drm/amd/display: Expose hw sequencer gamma function
+
+Signed-off-by: Yongqiang Sun <yongqiang.sun@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/dce110/dce110_hw_sequencer.c | 2 +-
+ drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h | 3 +++
+ 2 files changed, 4 insertions(+), 1 deletion(-)
+
+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 c3e0865..6acb9fa 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
+@@ -578,7 +578,7 @@ static bool convert_to_custom_float(
+ return true;
+ }
+
+-static bool dce110_translate_regamma_to_hw_format(const struct dc_transfer_func
++bool dce110_translate_regamma_to_hw_format(const struct dc_transfer_func
+ *output_tf, struct pwl_params *regamma_params)
+ {
+ struct curve_points *arr_points;
+diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
+index a6b4d0d..68632dd 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
++++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
+@@ -58,5 +58,8 @@ void dce110_power_down(struct core_dc *dc);
+
+ void dce110_update_pending_status(struct pipe_ctx *pipe_ctx);
+
++bool dce110_translate_regamma_to_hw_format(const struct dc_transfer_func
++ *output_tf, struct pwl_params *regamma_params);
++
+ #endif /* __DC_HWSS_DCE110_H__ */
+
+--
+2.7.4
+