/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn32/ |
D | dcn32_dpp.c | 43 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() 176 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl32_spl_calc_lb_num_partitions() 177 scl_data->viewport.width : scl_data->recout.width; in dscl32_spl_calc_lb_num_partitions() 178 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl32_spl_calc_lb_num_partitions() 179 scl_data->viewport_c.width : scl_data->recout.width; in dscl32_spl_calc_lb_num_partitions()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
D | dcn401_dpp.c | 292 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl401_calc_lb_num_partitions() 293 scl_data->viewport.width : scl_data->recout.width; in dscl401_calc_lb_num_partitions() 294 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl401_calc_lb_num_partitions() 295 scl_data->viewport_c.width : scl_data->recout.width; in dscl401_calc_lb_num_partitions() 367 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl401_spl_calc_lb_num_partitions() 368 scl_data->viewport.width : scl_data->recout.width; in dscl401_spl_calc_lb_num_partitions() 369 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl401_spl_calc_lb_num_partitions() 370 scl_data->viewport_c.width : scl_data->recout.width; in dscl401_spl_calc_lb_num_partitions()
|
D | dcn401_dpp_dscl.c | 645 const struct rect *recout) in dpp401_dscl_set_recout() argument 649 RECOUT_START_X, recout->x, in dpp401_dscl_set_recout() 651 RECOUT_START_Y, recout->y); in dpp401_dscl_set_recout() 655 RECOUT_WIDTH, recout->width, in dpp401_dscl_set_recout() 657 RECOUT_HEIGHT, recout->height); in dpp401_dscl_set_recout() 1067 const struct rect *rect = &scl_data->recout; in dpp401_dscl_set_scaler_manual_scale() 1105 rect = (struct rect *)&scl_data->dscl_prog_data.recout; in dpp401_dscl_set_scaler_manual_scale()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn20/ |
D | dcn20_dpp.c | 269 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions() 270 scl_data->viewport.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions() 271 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl2_calc_lb_num_partitions() 272 scl_data->viewport_c.width : scl_data->recout.width; in dscl2_calc_lb_num_partitions() 446 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dscl2_spl_calc_lb_num_partitions() 447 scl_data->viewport.width : scl_data->recout.width; in dscl2_spl_calc_lb_num_partitions() 448 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dscl2_spl_calc_lb_num_partitions() 449 scl_data->viewport_c.width : scl_data->recout.width; in dscl2_spl_calc_lb_num_partitions()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
D | dcn10_dpp_dscl.c | 400 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions() 401 scl_data->viewport.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions() 402 int line_size_c = scl_data->viewport_c.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions() 403 scl_data->viewport_c.width : scl_data->recout.width; in dpp1_dscl_calc_lb_num_partitions() 588 const struct rect *recout) in dpp1_dscl_set_recout() argument 592 RECOUT_START_X, recout->x, in dpp1_dscl_set_recout() 594 RECOUT_START_Y, recout->y); in dpp1_dscl_set_recout() 598 RECOUT_WIDTH, recout->width, in dpp1_dscl_set_recout() 600 RECOUT_HEIGHT, recout->height); in dpp1_dscl_set_recout() 646 dpp1_dscl_set_recout(dpp, &scl_data->recout); in dpp1_dscl_set_scaler_manual_scale()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/ |
D | dc_spl.c | 345 spl_scratch->scl_data.recout = shift_rec( in spl_calculate_recout() 348 spl_scratch->scl_data.recout.height -= in spl_calculate_recout() 350 spl_scratch->scl_data.recout.height -= in spl_calculate_recout() 354 memset(&spl_scratch->scl_data.recout, 0, in spl_calculate_recout() 427 spl_scratch->scl_data.recout.width)); in spl_calculate_viewport_size() 429 spl_scratch->scl_data.recout.height)); in spl_calculate_viewport_size() 431 spl_scratch->scl_data.recout.width)); in spl_calculate_viewport_size() 433 spl_scratch->scl_data.recout.height)); in spl_calculate_viewport_size() 566 &spl_scratch->scl_data.recout, odm_slice.x, odm_slice.y); in spl_calculate_inits_and_viewports() 620 spl_scratch->scl_data.recout.width, in spl_calculate_inits_and_viewports() [all …]
|
D | dc_spl_types.h | 140 struct spl_rect recout; member 258 struct spl_rect recout; // RECOUT - set based on scl_data.recout member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_transform_v.c | 234 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 375 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.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 181 - 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() 1173 (scl_data->viewport.width > scl_data->recout.width)) in dce_transform_get_optimal_number_of_taps() 1174 pixel_width = scl_data->recout.width; in dce_transform_get_optimal_number_of_taps()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn401/ |
D | dcn401_hubp.c | 675 int x_pos = pos->x - param->recout.x; in hubp401_cursor_set_position() 676 int y_pos = pos->y - param->recout.y; in hubp401_cursor_set_position() 689 if (param->recout.width) { in hubp401_cursor_set_position() 690 x_pos_viewport = x_pos * param->viewport.width / param->recout.width; in hubp401_cursor_set_position() 691 x_hot_viewport = pos->x_hotspot * param->viewport.width / param->recout.width; in hubp401_cursor_set_position() 755 hubp->cur_rect.x = rec_x_offset + param->recout.x; in hubp401_cursor_set_position() 756 hubp->cur_rect.y = rec_y_offset + param->recout.y; in hubp401_cursor_set_position()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 776 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size() 777 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size() 778 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size() 779 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size() 963 static void adjust_recout_for_visual_confirm(struct rect *recout, in adjust_recout_for_visual_confirm() argument 970 recout->height -= base_offset; in adjust_recout_for_visual_confirm() 971 recout->height -= dpp_offset; in adjust_recout_for_visual_confirm() 1121 pipe_ctx->plane_res.scl_data.recout = shift_rec( in calculate_recout() 1125 &pipe_ctx->plane_res.scl_data.recout, in calculate_recout() 1129 memset(&pipe_ctx->plane_res.scl_data.recout, 0, in calculate_recout() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn401/ |
D | dcn401_hwseq.c | 1046 struct rect r1 = scl_data->recout, r2, r2_half; in dcn401_can_pipe_disable_cursor() 1063 r2 = test_pipe->plane_res.scl_data.recout; in dcn401_can_pipe_disable_cursor() 1075 r2_half = split_pipe->plane_res.scl_data.recout; in dcn401_can_pipe_disable_cursor() 1109 .recout = pipe_ctx->plane_res.scl_data.recout, in dcn401_set_cursor_position() 1215 bottom_pipe_x_pos = x_pos - pipe_ctx->plane_res.scl_data.recout.x; in dcn401_set_cursor_position() 1217 x_pos = pipe_ctx->plane_res.scl_data.recout.x; in dcn401_set_cursor_position() 1230 x_pos = pos_cpy.x - param.recout.x; in dcn401_set_cursor_position() 1231 y_pos = pos_cpy.y - param.recout.y; in dcn401_set_cursor_position() 1236 if (recout_x_pos >= (int)param.recout.width) in dcn401_set_cursor_position() 1239 if (recout_y_pos >= (int)param.recout.height) in dcn401_set_cursor_position()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
D | dcn20_resource.c | 1520 if (sd->recout.x + 16 >= sd->h_active) in dcn20_split_stream_for_odm() 1522 new_width = sd->h_active - sd->recout.x; in dcn20_split_stream_for_odm() 1524 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm() 1526 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm() 1527 sd->recout.width = new_width; in dcn20_split_stream_for_odm() 1536 new_width = sd->recout.width + sd->recout.x - sd->h_active; in dcn20_split_stream_for_odm() 1538 sd->ratios.horz, sd->recout.width - new_width)); in dcn20_split_stream_for_odm() 1540 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm() 1541 sd->recout.width = new_width; in dcn20_split_stream_for_odm() 1543 sd->ratios.horz, sd->h_active - sd->recout.x)); in dcn20_split_stream_for_odm() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dc_spl_translate.c | 208 populate_rect_from_splrect(&pipe_ctx->plane_res.scl_data.recout, &spl_out->dscl_prog_data->recout); in translate_SPL_out_params_to_pipe_ctx()
|
D | dc_hw_types.h | 488 struct rect recout; member
|
D | dc_dmub_srv.c | 997 struct rect r1 = scl_data->recout, r2, r2_half; in dc_can_pipe_disable_cursor() 1012 r2 = test_pipe->plane_res.scl_data.recout; in dc_can_pipe_disable_cursor() 1024 r2_half = split_pipe->plane_res.scl_data.recout; in dc_can_pipe_disable_cursor()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_trace.h | 439 __entry->recout_x = plane_res->scl_data.recout.x; 440 __entry->recout_y = plane_res->scl_data.recout.y; 441 __entry->recout_w = plane_res->scl_data.recout.width; 442 __entry->recout_h = plane_res->scl_data.recout.height;
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml2_utils.c | 273 pipe_ctx->pipe_dlg_param.recout_height = pipe_ctx->plane_res.scl_data.recout.height; in populate_pipe_ctx_dlg_params_from_dml() 274 pipe_ctx->pipe_dlg_param.recout_width = pipe_ctx->plane_res.scl_data.recout.width; in populate_pipe_ctx_dlg_params_from_dml() 275 pipe_ctx->pipe_dlg_param.full_recout_height = pipe_ctx->plane_res.scl_data.recout.height; in populate_pipe_ctx_dlg_params_from_dml() 276 pipe_ctx->pipe_dlg_param.full_recout_width = pipe_ctx->plane_res.scl_data.recout.width; in populate_pipe_ctx_dlg_params_from_dml()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | transform.h | 159 struct rect recout; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 425 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.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_translation_helper.c | 1147 pipe_ctx->pipe_dlg_param.recout_height = pipe_ctx->plane_res.scl_data.recout.height; in dml21_populate_pipe_ctx_dlg_params() 1148 pipe_ctx->pipe_dlg_param.recout_width = pipe_ctx->plane_res.scl_data.recout.width; in dml21_populate_pipe_ctx_dlg_params() 1149 pipe_ctx->pipe_dlg_param.full_recout_height = pipe_ctx->plane_res.scl_data.recout.height; in dml21_populate_pipe_ctx_dlg_params() 1150 pipe_ctx->pipe_dlg_param.full_recout_width = pipe_ctx->plane_res.scl_data.recout.width; in dml21_populate_pipe_ctx_dlg_params()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1648 pipes[pipe_cnt].pipe.dest.recout_width = scl->recout.width; in dcn20_populate_dml_pipes_from_context() 1649 pipes[pipe_cnt].pipe.dest.recout_height = scl->recout.height; in dcn20_populate_dml_pipes_from_context() 1650 pipes[pipe_cnt].pipe.dest.full_recout_height = scl->recout.height; in dcn20_populate_dml_pipes_from_context() 1651 pipes[pipe_cnt].pipe.dest.full_recout_width = scl->recout.width; in dcn20_populate_dml_pipes_from_context() 1660 pipes[pipe_cnt].pipe.dest.full_recout_width += split_pipe->plane_res.scl_data.recout.width; in dcn20_populate_dml_pipes_from_context() 1665 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.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
D | dce110_hwseq.c | 2980 pipe_ctx->plane_res.scl_data.recout.width, in dce110_program_front_end_for_pipe() 2981 pipe_ctx->plane_res.scl_data.recout.height, in dce110_program_front_end_for_pipe() 2982 pipe_ctx->plane_res.scl_data.recout.x, in dce110_program_front_end_for_pipe() 2983 pipe_ctx->plane_res.scl_data.recout.y); in dce110_program_front_end_for_pipe()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
D | dcn10_hwseq.c | 3436 struct rect r1 = scl_data->recout, r2, r2_half; in dcn10_can_pipe_disable_cursor() 3453 r2 = test_pipe->plane_res.scl_data.recout; in dcn10_can_pipe_disable_cursor() 3465 r2_half = split_pipe->plane_res.scl_data.recout; in dcn10_can_pipe_disable_cursor()
|