Home
last modified time | relevance | path

Searched refs:viewport_height (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c370 input->src.viewport_height_c = input->src.viewport_height / 2; in pipe_ctx_to_e2e_pipe_params()
376 input->src.viewport_height_c = input->src.viewport_height / 2; in pipe_ctx_to_e2e_pipe_params()
384 input->src.viewport_height_c = input->src.viewport_height; in pipe_ctx_to_e2e_pipe_params()
389 input->src.viewport_height_c = input->src.viewport_height; in pipe_ctx_to_e2e_pipe_params()
394 input->src.viewport_height_c = input->src.viewport_height; in pipe_ctx_to_e2e_pipe_params()
921 v->viewport_height[input_idx] = pipe->stream->timing.v_addressable; in dcn_validate_bandwidth()
931 if (v->viewport_height[input_idx] > 1080) in dcn_validate_bandwidth()
932 v->viewport_height[input_idx] = 1080; in dcn_validate_bandwidth()
966 v->viewport_height[input_idx] = viewport_end in dcn_validate_bandwidth()
969 v->viewport_height[input_idx] = viewport_b_end in dcn_validate_bandwidth()
[all …]
H A Ddcn_calc_auto.c47 v->v_ratio[k] = v->viewport_height[k] / v->scaler_recout_height[k]; in scaler_settings_calculation()
50 v->h_ratio[k] = v->viewport_height[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation()
56 …] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k] / v->scale… in scaler_settings_calculation()
59 …v->h_ratio[k] =dcn_bw_max2(v->viewport_height[k] / v->scaler_rec_out_width[k], v->viewport_width[k… in scaler_settings_calculation()
151 v->swath_width_ysingle_dpp[k] = v->viewport_height[k]; in mode_support_and_system_configuration()
622 …v->meta_surface_height_y =dcn_bw_ceil2(v->viewport_height[k] - 1.0, v->meta_req_height_y) + v->met… in mode_support_and_system_configuration()
671 …v->dpte_bytes_per_row_y = 64.0 * (dcn_bw_ceil2((v->viewport_height[k] - 1.0) / v->data_pte_req_hei… in mode_support_and_system_configuration()
682 …v->meta_surface_height_c =dcn_bw_ceil2(v->viewport_height[k] / 2.0 - 1.0, v->meta_req_height_c) + … in mode_support_and_system_configuration()
1140 v->swath_width = v->viewport_height[k] / v->dpp_per_plane[k]; in display_pipe_configuration()
1254 v->swath_width_y[k] = v->viewport_height[k] / v->dpp_per_plane[k]; in dispclkdppclkdcfclk_deep_sleep_prefetch_parameters_watermarks_and_performance_calculation()
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1099 int viewport_height = state->crtc_h; in amdgpu_dm_plane_helper_check_state() local
1107 viewport_height += state->crtc_y; in amdgpu_dm_plane_helper_check_state()
1109 viewport_height = new_crtc_state->mode.crtc_vdisplay - state->crtc_y; in amdgpu_dm_plane_helper_check_state()
1111 if (viewport_width < 0 || viewport_height < 0) { in amdgpu_dm_plane_helper_check_state()
1117 } else if (viewport_height < MIN_VIEWPORT_SIZE) { in amdgpu_dm_plane_helper_check_state()
1118 DRM_DEBUG_ATOMIC("Viewport height %d smaller than %d\n", viewport_height, MIN_VIEWPORT_SIZE); in amdgpu_dm_plane_helper_check_state()
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer_debug.c149 s->viewport_height, in dcn10_get_hubp_states()
169 s->viewport_height, in dcn10_get_hubp_states()
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_lib.c196 dml_print("DML PARAMS: viewport_height = %d\n", pipe_src->viewport_height); in dml_log_pipe_params()
H A Ddisplay_mode_structs.h408 unsigned int viewport_height; member
H A Ddml1_display_rq_dlg_calc.c631 vp_height = pipe_src_param->viewport_height; in get_surf_rq_param()
1211 vp_height_l = e2e_pipe_param->pipe.src.viewport_height; in dml1_rq_dlg_get_dlg_params()
H A Ddisplay_mode_vba.c554 src->viewport_height; in fetch_pipe_params()
804 src_k->viewport_height; in fetch_pipe_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1557 pipes[pipe_cnt].pipe.src.viewport_height = timing->v_addressable; in dcn20_populate_dml_pipes_from_context()
1558 if (pipes[pipe_cnt].pipe.src.viewport_height > 1080) in dcn20_populate_dml_pipes_from_context()
1559 pipes[pipe_cnt].pipe.src.viewport_height = 1080; in dcn20_populate_dml_pipes_from_context()
1560 pipes[pipe_cnt].pipe.src.surface_height_y = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context()
1562 pipes[pipe_cnt].pipe.src.surface_height_c = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context()
1569 …pipes[pipe_cnt].pipe.dest.recout_height = pipes[pipe_cnt].pipe.src.viewport_height; /*vp_height/vr… in dcn20_populate_dml_pipes_from_context()
1629 pipes[pipe_cnt].pipe.src.viewport_height = scl->viewport.height; in dcn20_populate_dml_pipes_from_context()
H A Ddisplay_rq_dlg_calc_20.c702 vp_height = pipe_src_param->viewport_height; in get_surf_rq_param()
972 vp_height_l = src->viewport_height; in dml20_rq_dlg_get_dlg_params()
H A Ddisplay_rq_dlg_calc_20v2.c702 vp_height = pipe_src_param->viewport_height; in get_surf_rq_param()
973 vp_height_l = src->viewport_height; in dml20v2_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Ddcn_calcs.h181 float viewport_height[number_of_planes_minus_one + 1]; member
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/
H A Ddcn10_hwseq.c192 s->viewport_height, in dcn10_log_hubp_states()
3620 int viewport_height = in dcn10_set_cursor_position() local
3662 if (pos_cpy.x > viewport_height) { in dcn10_set_cursor_position()
3663 pos_cpy.x = pos_cpy.x - viewport_height; in dcn10_set_cursor_position()
3664 pos_cpy.y = viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
3666 pos_cpy.y = 2 * viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
3670 pos_cpy.y = (2 * viewport_y) + viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c711 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1024 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c679 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1085 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_rq_dlg_calc_31.c674 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1006 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_rq_dlg_calc_314.c762 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1093 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c912 PRI_VIEWPORT_HEIGHT, &s->viewport_height); in hubp401_read_state()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.h677 uint32_t viewport_height; member
H A Ddcn10_hubp.c1032 PRI_VIEWPORT_HEIGHT, &s->viewport_height); in hubp1_read_state_common()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c1267 PRI_VIEWPORT_HEIGHT, &s->viewport_height); in hubp2_read_state_common()