Home
last modified time | relevance | path

Searched refs:viewport_width (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calcs.c340 input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params()
368 input->src.viewport_width_c = input->src.viewport_width / 2; in pipe_ctx_to_e2e_pipe_params()
374 input->src.viewport_width_c = input->src.viewport_width / 2; in pipe_ctx_to_e2e_pipe_params()
381 input->src.viewport_width_c = input->src.viewport_width; in pipe_ctx_to_e2e_pipe_params()
387 input->src.viewport_width_c = input->src.viewport_width; in pipe_ctx_to_e2e_pipe_params()
393 input->src.viewport_width_c = input->src.viewport_width; in pipe_ctx_to_e2e_pipe_params()
935 v->viewport_width[input_idx] = pipe->stream->timing.h_addressable; in dcn_validate_bandwidth()
944 if (v->viewport_width[input_idx] > 1920) in dcn_validate_bandwidth()
945 v->viewport_width[input_idx] = 1920; in dcn_validate_bandwidth()
948 v->scaler_rec_out_width[input_idx] = v->viewport_width[input_idx]; in dcn_validate_bandwidth()
[all …]
Ddcn_calc_auto.c46 v->h_ratio[k] = v->viewport_width[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation()
51 v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k]; in scaler_settings_calculation()
56 …v->h_ratio[k] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k… in scaler_settings_calculation()
59 … =dcn_bw_max2(v->viewport_height[k] / v->scaler_rec_out_width[k], v->viewport_width[k] / v->scaler… in scaler_settings_calculation()
148 v->swath_width_ysingle_dpp[k] = v->viewport_width[k]; in mode_support_and_system_configuration()
621 …v->meta_surface_width_y =dcn_bw_ceil2(v->viewport_width[k] / v->no_of_dpp[i][j][k] - 1.0, v->meta_… in mode_support_and_system_configuration()
665viewport_width[k] / v->no_of_dpp[i][j][k] *dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(dcn_bw_… in mode_support_and_system_configuration()
668 …v->dpte_bytes_per_row_y = 64.0 * (dcn_bw_ceil2((v->viewport_width[k] / v->no_of_dpp[i][j][k] - 1.0… in mode_support_and_system_configuration()
681 …v->meta_surface_width_c =dcn_bw_ceil2(v->viewport_width[k] / v->no_of_dpp[i][j][k] / 2.0 - 1.0, v-… in mode_support_and_system_configuration()
726viewport_width[k] / v->no_of_dpp[i][j][k] / 2.0 * dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(… in mode_support_and_system_configuration()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer_debug.c147 s->viewport_width, in dcn10_get_hubp_states()
167 s->viewport_width, in dcn10_get_hubp_states()
Ddcn10_hw_sequencer.c175 s->viewport_width, in dcn10_log_hubp_states()
3488 int viewport_width = in dcn10_set_cursor_position() local
3494 if (pos_cpy.x >= viewport_width + viewport_x) { in dcn10_set_cursor_position()
3495 pos_cpy.x = 2 * viewport_width in dcn10_set_cursor_position()
3505 pos_cpy.x = temp_x + viewport_width; in dcn10_set_cursor_position()
3509 pos_cpy.x = viewport_width - pos_cpy.x + 2 * viewport_x; in dcn10_set_cursor_position()
Ddcn10_hubp.h666 uint32_t viewport_width; member
Ddcn10_hubp.c1012 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp1_read_state_common()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_structs.h252 unsigned int viewport_width; member
Ddisplay_mode_lib.c162 dml_print("DML PARAMS: viewport_width = %d\n", pipe_src->viewport_width); in dml_log_pipe_params()
Ddisplay_mode_vba.c399 src->viewport_width; in fetch_pipe_params()
613 src_k->viewport_width; in fetch_pipe_params()
Ddml1_display_rq_dlg_calc.c630 vp_width = pipe_src_param.viewport_width / ppe; in get_surf_rq_param()
1212 vp_width_l = e2e_pipe_param.pipe.src.viewport_width; in dml1_rq_dlg_get_dlg_params()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_resource.c2231 pipes[pipe_cnt].pipe.src.viewport_width = timing->h_addressable;
2232 if (pipes[pipe_cnt].pipe.src.viewport_width > 1920)
2233 pipes[pipe_cnt].pipe.src.viewport_width = 1920;
2238 pipes[pipe_cnt].pipe.src.surface_width_y = pipes[pipe_cnt].pipe.src.viewport_width;
2240 pipes[pipe_cnt].pipe.src.surface_width_c = pipes[pipe_cnt].pipe.src.viewport_width;
2241 …pipes[pipe_cnt].pipe.src.data_pitch = ((pipes[pipe_cnt].pipe.src.viewport_width + 255) / 256) * 25…
2243 …pipes[pipe_cnt].pipe.dest.recout_width = pipes[pipe_cnt].pipe.src.viewport_width; /*vp_width/hrati…
2257 pipes[pipe_cnt].pipe.src.viewport_width /= 2;
2262 pipes[pipe_cnt].pipe.src.viewport_width /= 4;
2286 pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport_unadjusted.width;
Ddcn20_hubp.c1215 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp2_read_state_common()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Ddcn_calcs.h175 float viewport_width[number_of_planes_minus_one + 1]; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20v2.c705 vp_width = pipe_src_param.viewport_width / ppe; in get_surf_rq_param()
980 vp_width_l = src->viewport_width; in dml20v2_rq_dlg_get_dlg_params()
Ddisplay_rq_dlg_calc_20.c705 vp_width = pipe_src_param.viewport_width / ppe; in get_surf_rq_param()
979 vp_width_l = src->viewport_width; in dml20_rq_dlg_get_dlg_params()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c714 vp_width = pipe_param.src.viewport_width / ppe; in get_surf_rq_param()
1031 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c770 vp_width = pipe_param.src.viewport_width / ppe; in get_surf_rq_param()
1180 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()