mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
1a1adf172f
commit
d9672a5bfb
|
@ -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,
|
const struct pipe_ctx *pipe_ctx,
|
||||||
struct tg_color *color)
|
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 pipe_ctx *pipe_ctx,
|
||||||
struct tg_color *color)
|
struct tg_color *color)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 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(
|
void update_dchubp_dpp(
|
||||||
struct dc *dc,
|
struct dc *dc,
|
||||||
struct pipe_ctx *pipe_ctx,
|
struct pipe_ctx *pipe_ctx,
|
||||||
|
|
Loading…
Reference in New Issue