Home
last modified time | relevance | path

Searched refs:recout (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dpp.c43 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
44 scl_data->viewport.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
45 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl32_calc_lb_num_partitions()
46 scl_data->viewport_c.width : scl_data->recout.width; in dscl32_calc_lb_num_partitions()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c791 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size()
792 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size()
793 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size()
794 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size()
820 data->recout.x = stream->dst.x + (surf_clip.x - stream->src.x - stream->src.width/2) * in calculate_recout()
823 data->recout.x = stream->dst.x; in calculate_recout()
825 data->recout.x += (surf_clip.x - stream->src.x) * stream->dst.width in calculate_recout()
828 data->recout.x = 0; in calculate_recout()
832 data->recout.width = surf_clip.width * stream->dst.width / stream->src.width; in calculate_recout()
833 if (data->recout.width + data->recout.x > stream->dst.x + stream->dst.width) in calculate_recout()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c404 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions()
405 scl_data->viewport.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions()
406 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions()
407 scl_data->viewport_c.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions()
592 const struct rect *recout) in dpp1_dscl_set_recout() argument
608 RECOUT_START_X, recout->x, in dpp1_dscl_set_recout()
610 RECOUT_START_Y, recout->y); in dpp1_dscl_set_recout()
614 RECOUT_WIDTH, recout->width, in dpp1_dscl_set_recout()
616 RECOUT_HEIGHT, recout->height in dpp1_dscl_set_recout()
659 dpp1_dscl_set_recout(dpp, &scl_data->recout); in dpp1_dscl_set_scaler_manual_scale()
Ddcn10_hw_sequencer.c3360 struct rect r1 = scl_data->recout, r2, r2_half; in dcn10_can_pipe_disable_cursor()
3375 r2 = test_pipe->plane_res.scl_data.recout; in dcn10_can_pipe_disable_cursor()
3387 r2_half = split_pipe->plane_res.scl_data.recout; in dcn10_can_pipe_disable_cursor()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c234 int overscan_right = data->h_active - data->recout.x - data->recout.width; in program_overscan()
235 int overscan_bottom = data->v_active - data->recout.y - data->recout.height; in program_overscan()
251 set_reg_field_value(overscan_left_right, data->recout.x, in program_overscan()
257 set_reg_field_value(overscan_top_bottom, data->recout.y, in program_overscan()
Ddce110_hw_sequencer.c2788 pipe_ctx->plane_res.scl_data.recout.width, in dce110_program_front_end_for_pipe()
2789 pipe_ctx->plane_res.scl_data.recout.height, in dce110_program_front_end_for_pipe()
2790 pipe_ctx->plane_res.scl_data.recout.x, in dce110_program_front_end_for_pipe()
2791 pipe_ctx->plane_res.scl_data.recout.y); in dce110_program_front_end_for_pipe()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c267 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions()
268 scl_data->viewport.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions()
269 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions()
270 scl_data->viewport_c.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions()
Ddcn20_resource.c1499 if (sd->recout.x + 16 >= sd->h_active) in dcn20_split_stream_for_odm()
1501 new_width = sd->h_active - sd->recout.x; in dcn20_split_stream_for_odm()
1503 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1505 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1506 sd->recout.width = new_width; in dcn20_split_stream_for_odm()
1515 new_width = sd->recout.width + sd->recout.x - sd->h_active; in dcn20_split_stream_for_odm()
1517 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1519 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1520 sd->recout.width = new_width; in dcn20_split_stream_for_odm()
1522 sd->ratios.horz, sd->h_active - sd->recout.x)); in dcn20_split_stream_for_odm()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c375 pipe_ctx->plane_res.scl_data.recout.width, in dce60_program_front_end_for_pipe()
376 pipe_ctx->plane_res.scl_data.recout.height, in dce60_program_front_end_for_pipe()
377 pipe_ctx->plane_res.scl_data.recout.x, in dce60_program_front_end_for_pipe()
378 pipe_ctx->plane_res.scl_data.recout.y); in dce60_program_front_end_for_pipe()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c181 - data->recout.x - data->recout.width; in program_overscan()
183 - data->recout.y - data->recout.height; in program_overscan()
200 EXT_OVERSCAN_LEFT, data->recout.x, in program_overscan()
203 EXT_OVERSCAN_TOP, data->recout.y, in program_overscan()
1174 (scl_data->viewport.width > scl_data->recout.width)) in dce_transform_get_optimal_number_of_taps()
1175 pixel_width = scl_data->recout.width; in dce_transform_get_optimal_number_of_taps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_dpp.c190 if (scl_data->viewport.width > scl_data->recout.width) in dpp201_get_optimal_number_of_taps()
191 pixel_width = scl_data->recout.width; in dpp201_get_optimal_number_of_taps()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_trace.h438 __entry->recout_x = plane_res->scl_data.recout.x;
439 __entry->recout_y = plane_res->scl_data.recout.y;
440 __entry->recout_w = plane_res->scl_data.recout.width;
441 __entry->recout_h = plane_res->scl_data.recout.height;
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h174 struct rect recout; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c425 input->dest.recout_width = pipe->plane_res.scl_data.recout.width; in pipe_ctx_to_e2e_pipe_params()
426 input->dest.recout_height = pipe->plane_res.scl_data.recout.height; in pipe_ctx_to_e2e_pipe_params()
428 input->dest.full_recout_width = pipe->plane_res.scl_data.recout.width; in pipe_ctx_to_e2e_pipe_params()
429 input->dest.full_recout_height = pipe->plane_res.scl_data.recout.height; in pipe_ctx_to_e2e_pipe_params()
944 v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width; in dcn_validate_bandwidth()
945 v->scaler_recout_height[input_idx] = pipe->plane_res.scl_data.recout.height; in dcn_validate_bandwidth()
972 v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width in dcn_validate_bandwidth()
973 + pipe->bottom_pipe->plane_res.scl_data.recout.width; in dcn_validate_bandwidth()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1488 pipes[pipe_cnt].pipe.dest.recout_width = scl->recout.width; in dcn20_populate_dml_pipes_from_context()
1489 pipes[pipe_cnt].pipe.dest.recout_height = scl->recout.height; in dcn20_populate_dml_pipes_from_context()
1490 pipes[pipe_cnt].pipe.dest.full_recout_height = scl->recout.height; in dcn20_populate_dml_pipes_from_context()
1491 pipes[pipe_cnt].pipe.dest.full_recout_width = scl->recout.width; in dcn20_populate_dml_pipes_from_context()
1500 pipes[pipe_cnt].pipe.dest.full_recout_width += split_pipe->plane_res.scl_data.recout.width; in dcn20_populate_dml_pipes_from_context()
1505 pipes[pipe_cnt].pipe.dest.full_recout_width += split_pipe->plane_res.scl_data.recout.width; in dcn20_populate_dml_pipes_from_context()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c873 && memcmp(&mpo_pipe->plane_res.scl_data.recout, in dcn21_fast_validate_bw()
874 &pipe->plane_res.scl_data.recout, in dcn21_fast_validate_bw()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1720 && memcmp(&mpo_pipe->plane_res.scl_data.recout, in dcn30_internal_validate_bw()
1721 &pipe->plane_res.scl_data.recout, in dcn30_internal_validate_bw()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c1560 && memcmp(&mpo_pipe->plane_res.scl_data.recout, in dcn32_internal_validate_bw()
1561 &pipe->plane_res.scl_data.recout, in dcn32_internal_validate_bw()