Home
last modified time | relevance | path

Searched refs:default_adjust (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c145 struct default_adjustment default_adjust = { 0 }; in dce60_set_default_colors() local
147 default_adjust.force_hw_default = false; in dce60_set_default_colors()
148 default_adjust.in_color_space = pipe_ctx->plane_state->color_space; in dce60_set_default_colors()
149 default_adjust.out_color_space = pipe_ctx->stream->output_color_space; in dce60_set_default_colors()
150 default_adjust.csc_adjust_type = GRAPHICS_CSC_ADJUST_TYPE_SW; in dce60_set_default_colors()
151 default_adjust.surface_pixel_format = pipe_ctx->plane_res.scl_data.format; in dce60_set_default_colors()
154 default_adjust.color_depth = in dce60_set_default_colors()
158 default_adjust.lb_color_depth = pipe_ctx->plane_res.scl_data.lb_params.depth; in dce60_set_default_colors()
161 pipe_ctx->plane_res.xfm, &default_adjust); in dce60_set_default_colors()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_opp_csc_v.c673 const struct default_adjustment *default_adjust) in dce110_opp_v_set_csc_default() argument
679 if (default_adjust->force_hw_default == false) { in dce110_opp_v_set_csc_default()
694 if (elm->color_space != default_adjust->out_color_space) in dce110_opp_v_set_csc_default()
705 program_input_csc(xfm, default_adjust->in_color_space); in dce110_opp_v_set_csc_default()
714 default_adjust->csc_adjust_type, in dce110_opp_v_set_csc_default()
715 default_adjust->out_color_space); in dce110_opp_v_set_csc_default()
717 set_Denormalization(xfm, default_adjust->color_depth); in dce110_opp_v_set_csc_default()
Ddce110_transform_v.h39 const struct default_adjustment *default_adjust);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1366 const struct default_adjustment *default_adjust) in dce110_opp_set_csc_default() argument
1372 if (default_adjust->force_hw_default == false) { in dce110_opp_set_csc_default()
1388 if (elm->color_space != default_adjust->out_color_space) in dce110_opp_set_csc_default()
1404 default_adjust->csc_adjust_type, in dce110_opp_set_csc_default()
1405 default_adjust->out_color_space); in dce110_opp_set_csc_default()
Ddce_transform.h681 const struct default_adjustment *default_adjust);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h191 const struct default_adjustment *default_adjust);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/
Ddce110_hwseq.c2513 struct default_adjustment default_adjust = { 0 }; in set_default_colors() local
2515 default_adjust.force_hw_default = false; in set_default_colors()
2516 default_adjust.in_color_space = pipe_ctx->plane_state->color_space; in set_default_colors()
2517 default_adjust.out_color_space = pipe_ctx->stream->output_color_space; in set_default_colors()
2518 default_adjust.csc_adjust_type = GRAPHICS_CSC_ADJUST_TYPE_SW; in set_default_colors()
2519 default_adjust.surface_pixel_format = pipe_ctx->plane_res.scl_data.format; in set_default_colors()
2522 default_adjust.color_depth = in set_default_colors()
2526 default_adjust.lb_color_depth = pipe_ctx->plane_res.scl_data.lb_params.depth; in set_default_colors()
2529 pipe_ctx->plane_res.xfm, &default_adjust); in set_default_colors()