Home
last modified time | relevance | path

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

/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 …]
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1005 int viewport_width = state->crtc_w; in amdgpu_dm_plane_helper_check_state() local
1009 viewport_width += state->crtc_x; in amdgpu_dm_plane_helper_check_state()
1011 viewport_width = new_crtc_state->mode.crtc_hdisplay - state->crtc_x; in amdgpu_dm_plane_helper_check_state()
1018 if (viewport_width < 0 || viewport_height < 0) { in amdgpu_dm_plane_helper_check_state()
1021 } else if (viewport_width < MIN_VIEWPORT_SIZE*2) { /* x2 for width is because of pipe-split. */ in amdgpu_dm_plane_helper_check_state()
1022 DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2); in amdgpu_dm_plane_helper_check_state()
/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1547 pipes[pipe_cnt].pipe.src.viewport_width = timing->h_addressable; in dcn20_populate_dml_pipes_from_context()
1548 if (pipes[pipe_cnt].pipe.src.viewport_width > 1920) in dcn20_populate_dml_pipes_from_context()
1549 pipes[pipe_cnt].pipe.src.viewport_width = 1920; in dcn20_populate_dml_pipes_from_context()
1554 pipes[pipe_cnt].pipe.src.surface_width_y = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context()
1556 pipes[pipe_cnt].pipe.src.surface_width_c = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context()
1557 …pipes[pipe_cnt].pipe.src.data_pitch = ((pipes[pipe_cnt].pipe.src.viewport_width + 255) / 256) * 25… in dcn20_populate_dml_pipes_from_context()
1559 …pipes[pipe_cnt].pipe.dest.recout_width = pipes[pipe_cnt].pipe.src.viewport_width; /*vp_width/hrati… in dcn20_populate_dml_pipes_from_context()
1573 pipes[pipe_cnt].pipe.src.viewport_width /= 2; in dcn20_populate_dml_pipes_from_context()
1576 pipes[pipe_cnt].pipe.src.viewport_width /= 4; in dcn20_populate_dml_pipes_from_context()
1618 pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport.width; in dcn20_populate_dml_pipes_from_context()
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()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c187 s->viewport_width, in dcn10_log_hubp_states()
3506 int viewport_width = in dcn10_set_cursor_position() local
3513 if (pos_cpy.x >= viewport_width + viewport_x) { in dcn10_set_cursor_position()
3514 pos_cpy.x = 2 * viewport_width in dcn10_set_cursor_position()
3524 pos_cpy.x = 2 * viewport_width - temp_x; in dcn10_set_cursor_position()
3528 pos_cpy.x = viewport_width - pos_cpy.x + 2 * viewport_x; in dcn10_set_cursor_position()
3599 int viewport_width = in dcn10_set_cursor_position() local
3606 if (pos_cpy.x >= viewport_width + viewport_x) { in dcn10_set_cursor_position()
3607 pos_cpy.x = 2 * viewport_width in dcn10_set_cursor_position()
3617 pos_cpy.x = temp_x + viewport_width; in dcn10_set_cursor_position()
[all …]
Ddcn10_hw_sequencer_debug.c148 s->viewport_width, in dcn10_get_hubp_states()
168 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()
/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_structs.h407 unsigned int viewport_width; member
Ddisplay_mode_lib.c195 dml_print("DML PARAMS: viewport_width = %d\n", pipe_src->viewport_width); in dml_log_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()
Ddisplay_mode_vba.c550 src->viewport_width; in fetch_pipe_params()
797 src_k->viewport_width; in fetch_pipe_params()
/drivers/gpu/drm/amd/display/dc/inc/
Ddcn_calcs.h175 float viewport_width[number_of_planes_minus_one + 1]; member
/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()
/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()
1010 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c679 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param()
1089 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
/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()
1097 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c1263 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp2_read_state_common()