Commit b3a1cbc0 authored by Eric Bernstein's avatar Eric Bernstein Committed by Alex Deucher
Browse files

drm/amd/display: Expose is_rgb_cspace function in hw_sequencer

parent a6e59fa8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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:
+1 −0
Original line number Diff line number Diff line
@@ -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__ */
+0 −1
Original line number Diff line number Diff line
@@ -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(