diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0814-drm-amd-display-expose-surface-confirm-color-functio.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0814-drm-amd-display-expose-surface-confirm-color-functio.patch | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0814-drm-amd-display-expose-surface-confirm-color-functio.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0814-drm-amd-display-expose-surface-confirm-color-functio.patch new file mode 100644 index 00000000..d6b45c15 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0814-drm-amd-display-expose-surface-confirm-color-functio.patch @@ -0,0 +1,62 @@ +From de53969da0c08f89bd30397fa0db18f1ac967fdd Mon Sep 17 00:00:00 2001 +From: Charlene Liu <charlene.liu@amd.com> +Date: Wed, 31 Oct 2018 16:51:40 -0400 +Subject: [PATCH 0814/2940] drm/amd/display: expose surface confirm color + function + +expose dcn10_get_surface_visual_confirm_color() to be used in the +future + +Signed-off-by: Charlene Liu <charlene.liu@amd.com> +Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> +Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 4 ++-- + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h | 8 ++++++++ + 2 files changed, 10 insertions(+), 2 deletions(-) + +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 994c49e81a61..f507c7835847 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 +@@ -1770,7 +1770,7 @@ bool is_rgb_cspace(enum dc_color_space output_color_space) + } + } + +-static void dcn10_get_surface_visual_confirm_color( ++void dcn10_get_surface_visual_confirm_color( + const struct pipe_ctx *pipe_ctx, + struct tg_color *color) + { +@@ -1806,7 +1806,7 @@ static void dcn10_get_surface_visual_confirm_color( + } + } + +-static void dcn10_get_hdr_visual_confirm_color( ++void dcn10_get_hdr_visual_confirm_color( + struct pipe_ctx *pipe_ctx, + struct tg_color *color) + { +diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h +index 91bb77b468dd..f8eea10e4c64 100644 +--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h ++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h +@@ -63,6 +63,14 @@ void dcn10_program_pte_vm(struct dce_hwseq *hws, struct hubp *hubp); + + void set_hdr_multiplier(struct pipe_ctx *pipe_ctx); + ++void dcn10_get_surface_visual_confirm_color( ++ const struct pipe_ctx *pipe_ctx, ++ struct tg_color *color); ++ ++void dcn10_get_hdr_visual_confirm_color( ++ struct pipe_ctx *pipe_ctx, ++ struct tg_color *color); ++ + void update_dchubp_dpp( + struct dc *dc, + struct pipe_ctx *pipe_ctx, +-- +2.17.1 + |