drm/amd/display: Expose is_rgb_cspace function in hw_sequencer
authorEric Bernstein <eric.bernstein@amd.com>
Mon, 15 Jan 2018 21:23:59 +0000 (16:23 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:19:30 +0000 (14:19 -0500)
Signed-off-by: Eric Bernstein <eric.bernstein@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
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.h
drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h

index a17b0b7859fb2d1c0242c416af89ff0f2ff6ec50..5d3dedfbc69ebc893bcce43c7d8533051c653eed 100644 (file)
@@ -1430,7 +1430,7 @@ static bool is_pipe_tree_visible(struct pipe_ctx *pipe_ctx)
        return false;
 }
 
-static bool is_rgb_cspace(enum dc_color_space output_color_space)
+bool is_rgb_cspace(enum dc_color_space output_color_space)
 {
        switch (output_color_space) {
        case COLOR_SPACE_SRGB:
index b9d326082717f500de78d2bda0c5eee7306bdd73..6c526b5095d90431772cbb6b7431fdd7c58b4840 100644 (file)
@@ -35,5 +35,6 @@ extern void fill_display_configs(
        const struct dc_state *context,
        struct dm_pp_display_configuration *pp_display_cfg);
 
+bool is_rgb_cspace(enum dc_color_space output_color_space);
 
 #endif /* __DC_HWSS_DCN10_H__ */
index ad956ae2c6807c18023324082acc85803ab51af2..e764cbad881b757f16c35a41e4218dad5a52bc7c 100644 (file)
@@ -201,7 +201,6 @@ struct hw_sequencer_funcs {
 
        void (*set_cursor_position)(struct pipe_ctx *pipe);
        void (*set_cursor_attribute)(struct pipe_ctx *pipe);
-
 };
 
 void color_space_to_black_color(