Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c341 input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params()
369 input->src.viewport_width_c = input->src.viewport_width / 2; in pipe_ctx_to_e2e_pipe_params()
375 input->src.viewport_width_c = input->src.viewport_width / 2; in pipe_ctx_to_e2e_pipe_params()
383 input->src.viewport_width_c = input->src.viewport_width; in pipe_ctx_to_e2e_pipe_params()
388 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()
920 v->viewport_width[input_idx] = pipe->stream->timing.h_addressable; in dcn_validate_bandwidth()
929 if (v->viewport_width[input_idx] > 1920) in dcn_validate_bandwidth()
930 v->viewport_width[input_idx] = 1920; in dcn_validate_bandwidth()
933 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 …]
/Linux-v6.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1005 int viewport_width = state->crtc_w; in dm_plane_helper_check_state() local
1009 viewport_width += state->crtc_x; in dm_plane_helper_check_state()
1011 viewport_width = new_crtc_state->mode.crtc_hdisplay - state->crtc_x; in dm_plane_helper_check_state()
1018 if (viewport_width < 0 || viewport_height < 0) { in dm_plane_helper_check_state()
1021 } else if (viewport_width < MIN_VIEWPORT_SIZE*2) { /* x2 for width is because of pipe-split. */ in dm_plane_helper_check_state()
1022 DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2); in dm_plane_helper_check_state()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1397 pipes[pipe_cnt].pipe.src.viewport_width = timing->h_addressable; in dcn20_populate_dml_pipes_from_context()
1398 if (pipes[pipe_cnt].pipe.src.viewport_width > 1920) in dcn20_populate_dml_pipes_from_context()
1399 pipes[pipe_cnt].pipe.src.viewport_width = 1920; in dcn20_populate_dml_pipes_from_context()
1404 pipes[pipe_cnt].pipe.src.surface_width_y = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context()
1406 pipes[pipe_cnt].pipe.src.surface_width_c = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context()
1407 …pipes[pipe_cnt].pipe.src.data_pitch = ((pipes[pipe_cnt].pipe.src.viewport_width + 255) / 256) * 25… in dcn20_populate_dml_pipes_from_context()
1409 …pipes[pipe_cnt].pipe.dest.recout_width = pipes[pipe_cnt].pipe.src.viewport_width; /*vp_width/hrati… in dcn20_populate_dml_pipes_from_context()
1423 pipes[pipe_cnt].pipe.src.viewport_width /= 2; in dcn20_populate_dml_pipes_from_context()
1426 pipes[pipe_cnt].pipe.src.viewport_width /= 4; in dcn20_populate_dml_pipes_from_context()
1467 pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport.width; in dcn20_populate_dml_pipes_from_context()
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()
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()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c186 s->viewport_width, in dcn10_log_hubp_states()
3478 int viewport_width = in dcn10_set_cursor_position() local
3485 if (pos_cpy.x >= viewport_width + viewport_x) { in dcn10_set_cursor_position()
3486 pos_cpy.x = 2 * viewport_width in dcn10_set_cursor_position()
3496 pos_cpy.x = temp_x + viewport_width; in dcn10_set_cursor_position()
3500 pos_cpy.x = viewport_width - pos_cpy.x + 2 * viewport_x; in dcn10_set_cursor_position()
3571 int viewport_width = in dcn10_set_cursor_position() local
3578 if (pos_cpy.x >= viewport_width + viewport_x) { in dcn10_set_cursor_position()
3579 pos_cpy.x = 2 * viewport_width in dcn10_set_cursor_position()
3589 pos_cpy.x = temp_x + viewport_width; in dcn10_set_cursor_position()
[all …]
Ddcn10_hw_sequencer_debug.c147 s->viewport_width, in dcn10_get_hubp_states()
167 s->viewport_width, in dcn10_get_hubp_states()
Ddcn10_hubp.h676 uint32_t viewport_width; member
Ddcn10_hubp.c1030 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp1_read_state_common()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_lib.c196 dml_print("DML PARAMS: viewport_width = %d\n", pipe_src->viewport_width); in dml_log_pipe_params()
Ddisplay_mode_structs.h405 unsigned int viewport_width; member
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()
Ddisplay_mode_vba.c548 src->viewport_width; in fetch_pipe_params()
789 src_k->viewport_width; in fetch_pipe_params()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/inc/
Ddcn_calcs.h175 float viewport_width[number_of_planes_minus_one + 1]; member
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c681 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param()
1091 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
/Linux-v6.1/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()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c674 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param()
1012 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c762 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param()
1110 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c1255 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp2_read_state_common()