Home
last modified time | relevance | path

Searched refs:basic_in (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_spl_translate.c91 spl_in->basic_in.format = (enum spl_pixel_format)pipe_ctx->plane_res.scl_data.format; in translate_SPL_in_params_from_pipe_ctx()
95 populate_splrect_from_rect(&spl_in->basic_in.clip_rect, &plane_state->clip_rect); in translate_SPL_in_params_from_pipe_ctx()
101 spl_in->basic_in.rotation = (enum spl_rotation_angle)plane_state->rotation; in translate_SPL_in_params_from_pipe_ctx()
103 populate_splrect_from_rect(&spl_in->basic_in.src_rect, &plane_state->src_rect); in translate_SPL_in_params_from_pipe_ctx()
105 populate_splrect_from_rect(&spl_in->basic_in.dst_rect, &plane_state->dst_rect); in translate_SPL_in_params_from_pipe_ctx()
107 spl_in->basic_in.horizontal_mirror = plane_state->horizontal_mirror; in translate_SPL_in_params_from_pipe_ctx()
110 spl_in->basic_in.mpc_combine_h = resource_get_mpc_slice_count(pipe_ctx); in translate_SPL_in_params_from_pipe_ctx()
113 spl_in->basic_in.mpc_combine_v = 0; in translate_SPL_in_params_from_pipe_ctx()
115 spl_in->basic_in.mpc_combine_v = resource_get_mpc_slice_index(pipe_ctx); in translate_SPL_in_params_from_pipe_ctx()
180 spl_in->basic_in.cositing = pipe_ctx->stream->ctx->dc->debug.force_cositing - 1; in translate_SPL_in_params_from_pipe_ctx()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/spl/
H A Ddc_spl.c140 int mpc_slice_count = spl_in->basic_in.mpc_combine_h; in calculate_mpc_slice_in_timing_active()
141 int mpc_slice_idx = spl_in->basic_in.mpc_combine_v; in calculate_mpc_slice_in_timing_active()
331 &spl_in->basic_in.clip_rect); in spl_calculate_recout()
367 struct spl_rect surf_src = spl_in->basic_in.src_rect; in spl_calculate_scaling_ratios()
370 if (spl_in->basic_in.rotation == SPL_ROTATION_ANGLE_90 || in spl_calculate_scaling_ratios()
371 spl_in->basic_in.rotation == SPL_ROTATION_ANGLE_270) in spl_calculate_scaling_ratios()
376 spl_in->basic_in.dst_rect.width); in spl_calculate_scaling_ratios()
379 spl_in->basic_in.dst_rect.height); in spl_calculate_scaling_ratios()
394 if (spl_in->basic_in.format == SPL_PIXEL_FORMAT_420BPP8 in spl_calculate_scaling_ratios()
395 || spl_in->basic_in.format == SPL_PIXEL_FORMAT_420BPP10) { in spl_calculate_scaling_ratios()
[all …]
H A Ddc_spl_types.h432 struct basic_in { struct
519 struct basic_in basic_in; member