drm/amd/display: Expose is_rgb_cspace function in hw_sequencer
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>
This commit is contained in:
parent
a6e59fa806
commit
b3a1cbc0c5
@ -1430,7 +1430,7 @@ static bool is_pipe_tree_visible(struct pipe_ctx *pipe_ctx)
|
|||||||
return false;
|
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) {
|
switch (output_color_space) {
|
||||||
case COLOR_SPACE_SRGB:
|
case COLOR_SPACE_SRGB:
|
||||||
|
@ -35,5 +35,6 @@ extern void fill_display_configs(
|
|||||||
const struct dc_state *context,
|
const struct dc_state *context,
|
||||||
struct dm_pp_display_configuration *pp_display_cfg);
|
struct dm_pp_display_configuration *pp_display_cfg);
|
||||||
|
|
||||||
|
bool is_rgb_cspace(enum dc_color_space output_color_space);
|
||||||
|
|
||||||
#endif /* __DC_HWSS_DCN10_H__ */
|
#endif /* __DC_HWSS_DCN10_H__ */
|
||||||
|
@ -201,7 +201,6 @@ struct hw_sequencer_funcs {
|
|||||||
|
|
||||||
void (*set_cursor_position)(struct pipe_ctx *pipe);
|
void (*set_cursor_position)(struct pipe_ctx *pipe);
|
||||||
void (*set_cursor_attribute)(struct pipe_ctx *pipe);
|
void (*set_cursor_attribute)(struct pipe_ctx *pipe);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void color_space_to_black_color(
|
void color_space_to_black_color(
|
||||||
|
Loading…
Reference in New Issue
Block a user