Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/calcs/
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()
940 v->viewport_height[input_idx] = pipe->stream->timing.v_addressable; in dcn_validate_bandwidth()
950 if (v->viewport_height[input_idx] > 1080) in dcn_validate_bandwidth()
951 v->viewport_height[input_idx] = 1080; in dcn_validate_bandwidth()
985 v->viewport_height[input_idx] = viewport_end in dcn_validate_bandwidth()
988 v->viewport_height[input_idx] = viewport_b_end in dcn_validate_bandwidth()
[all …]
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/dc/dcn10/
A Ddcn10_hw_sequencer_debug.c148 s->viewport_height, in dcn10_get_hubp_states()
168 s->viewport_height, in dcn10_get_hubp_states()
A Ddcn10_hw_sequencer.c183 s->viewport_height, in dcn10_log_hubp_states()
3399 int viewport_height = in dcn10_set_cursor_position() local
3441 if (pos_cpy.x > viewport_height) { in dcn10_set_cursor_position()
3442 pos_cpy.x = pos_cpy.x - viewport_height; in dcn10_set_cursor_position()
3443 pos_cpy.y = viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
3445 pos_cpy.y = 2 * viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
3449 pos_cpy.y = (2 * viewport_y) + viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
A Ddcn10_hubp.h673 uint32_t viewport_height; member
A Ddcn10_hubp.c1031 PRI_VIEWPORT_HEIGHT, &s->viewport_height); in hubp1_read_state_common()
/linux/drivers/gpu/drm/amd/display/dc/dml/
A Ddisplay_mode_structs.h259 unsigned int viewport_height; member
A Ddisplay_mode_lib.c172 dml_print("DML PARAMS: viewport_height = %d\n", pipe_src->viewport_height); in dml_log_pipe_params()
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()
A Ddisplay_mode_vba.c423 src->viewport_height; in fetch_pipe_params()
649 src_k->viewport_height; in fetch_pipe_params()
/linux/drivers/gpu/drm/amd/display/dc/inc/
A Ddcn_calcs.h181 float viewport_height[number_of_planes_minus_one + 1]; member
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_resource.c2233 pipes[pipe_cnt].pipe.src.viewport_height = timing->v_addressable; in dcn20_populate_dml_pipes_from_context()
2234 if (pipes[pipe_cnt].pipe.src.viewport_height > 1080) in dcn20_populate_dml_pipes_from_context()
2235 pipes[pipe_cnt].pipe.src.viewport_height = 1080; in dcn20_populate_dml_pipes_from_context()
2236 pipes[pipe_cnt].pipe.src.surface_height_y = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context()
2238 pipes[pipe_cnt].pipe.src.surface_height_c = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context()
2243 …pipes[pipe_cnt].pipe.dest.recout_height = pipes[pipe_cnt].pipe.src.viewport_height; /*vp_height/vr… in dcn20_populate_dml_pipes_from_context()
2284 pipes[pipe_cnt].pipe.src.viewport_height = scl->viewport.height; in dcn20_populate_dml_pipes_from_context()
A Ddcn20_hubp.c1218 PRI_VIEWPORT_HEIGHT, &s->viewport_height); in hubp2_read_state_common()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
A Ddisplay_rq_dlg_calc_20.c706 vp_height = pipe_src_param->viewport_height; in get_surf_rq_param()
978 vp_height_l = src->viewport_height; in dml20_rq_dlg_get_dlg_params()
A Ddisplay_rq_dlg_calc_20v2.c706 vp_height = pipe_src_param->viewport_height; in get_surf_rq_param()
979 vp_height_l = src->viewport_height; in dml20v2_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
A Ddisplay_rq_dlg_calc_21.c715 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1030 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/
A Ddisplay_rq_dlg_calc_30.c771 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1179 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
A Ddisplay_rq_dlg_calc_31.c762 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1101 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm.c7542 int viewport_height = state->crtc_h; in dm_plane_helper_check_state() local
7550 viewport_height += state->crtc_y; in dm_plane_helper_check_state()
7552 viewport_height = new_crtc_state->mode.crtc_vdisplay - state->crtc_y; in dm_plane_helper_check_state()
7554 if (viewport_width < 0 || viewport_height < 0) { in dm_plane_helper_check_state()
7560 } else if (viewport_height < MIN_VIEWPORT_SIZE) { in dm_plane_helper_check_state()
7561 DRM_DEBUG_ATOMIC("Viewport height %d smaller than %d\n", viewport_height, MIN_VIEWPORT_SIZE); in dm_plane_helper_check_state()

Completed in 79 milliseconds