Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c92 uint32_t left = data->recout.x; in dpp1_dscl_set_overscan()
93 uint32_t top = data->recout.y; in dpp1_dscl_set_overscan()
95 int right = data->h_active - data->recout.x - data->recout.width; in dpp1_dscl_set_overscan()
96 int bottom = data->v_active - data->recout.y - data->recout.height; in dpp1_dscl_set_overscan()
418 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions()
419 scl_data->viewport.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions()
420 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions()
421 scl_data->viewport_c.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions()
645 struct dcn10_dpp *dpp, const struct rect *recout) in dpp1_dscl_set_recout() argument
653 RECOUT_START_X, recout->x, in dpp1_dscl_set_recout()
[all …]
Ddcn10_hw_sequencer.c3357 const struct rect *r1 = &pipe_ctx->plane_res.scl_data.recout, *r2; in dcn10_can_pipe_disable_cursor()
3370 r2 = &test_pipe->plane_res.scl_data.recout; in dcn10_can_pipe_disable_cursor()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c791 data->recout.x = stream->dst.x; in calculate_recout()
793 data->recout.x += (surf_clip.x - stream->src.x) * stream->dst.width in calculate_recout()
797 data->recout.x = 0; in calculate_recout()
799 data->recout.width = surf_clip.width * stream->dst.width / stream->src.width; in calculate_recout()
800 if (data->recout.width + data->recout.x > stream->dst.x + stream->dst.width) in calculate_recout()
801 data->recout.width = stream->dst.x + stream->dst.width - data->recout.x; in calculate_recout()
803 data->recout.y = stream->dst.y; in calculate_recout()
805 data->recout.y += (surf_clip.y - stream->src.y) * stream->dst.height in calculate_recout()
808 data->recout.height = surf_clip.height * stream->dst.height / stream->src.height; in calculate_recout()
809 if (data->recout.height + data->recout.y > stream->dst.y + stream->dst.height) in calculate_recout()
[all …]
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c237 int overscan_right = data->h_active - data->recout.x - data->recout.width; in program_overscan()
238 int overscan_bottom = data->v_active - data->recout.y - data->recout.height; in program_overscan()
254 set_reg_field_value(overscan_left_right, data->recout.x, in program_overscan()
260 set_reg_field_value(overscan_top_bottom, data->recout.y, in program_overscan()
Ddce110_hw_sequencer.c2646 pipe_ctx->plane_res.scl_data.recout.width, in dce110_program_front_end_for_pipe()
2647 pipe_ctx->plane_res.scl_data.recout.height, in dce110_program_front_end_for_pipe()
2648 pipe_ctx->plane_res.scl_data.recout.x, in dce110_program_front_end_for_pipe()
2649 pipe_ctx->plane_res.scl_data.recout.y); in dce110_program_front_end_for_pipe()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c277 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions()
278 scl_data->viewport.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions()
279 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions()
280 scl_data->viewport_c.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions()
Ddcn20_resource.c1899 if (sd->recout.x + 16 >= sd->h_active) in dcn20_split_stream_for_odm()
1901 new_width = sd->h_active - sd->recout.x; in dcn20_split_stream_for_odm()
1903 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1905 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1906 sd->recout.width = new_width; in dcn20_split_stream_for_odm()
1915 new_width = sd->recout.width + sd->recout.x - sd->h_active; in dcn20_split_stream_for_odm()
1917 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1919 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1920 sd->recout.width = new_width; in dcn20_split_stream_for_odm()
1922 sd->ratios.horz, sd->h_active - sd->recout.x)); in dcn20_split_stream_for_odm()
[all …]
/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()
/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()
1186 (scl_data->viewport.width > scl_data->recout.width)) in dce_transform_get_optimal_number_of_taps()
1187 pixel_width = scl_data->recout.width; in dce_transform_get_optimal_number_of_taps()
/drivers/gpu/drm/amd/display/dc/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()
962 v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width; in dcn_validate_bandwidth()
963 v->scaler_recout_height[input_idx] = pipe->plane_res.scl_data.recout.height; in dcn_validate_bandwidth()
990 v->scaler_rec_out_width[input_idx] = pipe->plane_res.scl_data.recout.width in dcn_validate_bandwidth()
991 + pipe->bottom_pipe->plane_res.scl_data.recout.width; in dcn_validate_bandwidth()
/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h178 struct rect recout; member
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c2034 && memcmp(&mpo_pipe->plane_res.scl_data.recout, in dcn30_internal_validate_bw()
2035 &pipe->plane_res.scl_data.recout, in dcn30_internal_validate_bw()