]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/amd/display: expose surface confirm color function
authorCharlene Liu <charlene.liu@amd.com>
Wed, 31 Oct 2018 20:51:40 +0000 (16:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Nov 2018 20:27:41 +0000 (15:27 -0500)
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
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h

index 0dde7922ccba900e8fb054ee1d4432b7fa114af8..0bd33a713836b6b1b0bd8c828517fc73d055a777 100644 (file)
@@ -1771,7 +1771,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)
 {
@@ -1807,7 +1807,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)
 {
index 91bb77b468ddc63895234ece7d36a85f292881f4..f8eea10e4c6453412a8dd22f763227dd76351142 100644 (file)
@@ -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,