Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c342 input->src.viewport_height = pipe->plane_res.scl_data.viewport.height; in pipe_ctx_to_e2e_pipe_params()
370 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()
934 v->scaler_recout_height[input_idx] = v->viewport_height[input_idx]; in dcn_validate_bandwidth()
[all …]
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()
732 …v->dpte_bytes_per_row_c = 64.0 * (dcn_bw_ceil2((v->viewport_height[k] / 2.0 - 1.0) / v->data_pte_r… in mode_support_and_system_configuration()
1140 v->swath_width = v->viewport_height[k] / v->dpp_per_plane[k]; in display_pipe_configuration()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c1006 int viewport_height = state->crtc_h; in dm_plane_helper_check_state() local
1014 viewport_height += state->crtc_y; in dm_plane_helper_check_state()
1016 viewport_height = new_crtc_state->mode.crtc_vdisplay - state->crtc_y; in dm_plane_helper_check_state()
1018 if (viewport_width < 0 || viewport_height < 0) { in dm_plane_helper_check_state()
1024 } else if (viewport_height < MIN_VIEWPORT_SIZE) { in dm_plane_helper_check_state()
1025 DRM_DEBUG_ATOMIC("Viewport height %d smaller than %d\n", viewport_height, MIN_VIEWPORT_SIZE); in dm_plane_helper_check_state()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer_debug.c148 s->viewport_height, in dcn10_get_hubp_states()
168 s->viewport_height, in dcn10_get_hubp_states()
Ddcn10_hw_sequencer.c187 s->viewport_height, in dcn10_log_hubp_states()
3541 int viewport_height = in dcn10_set_cursor_position() local
3583 if (pos_cpy.x > viewport_height) { in dcn10_set_cursor_position()
3584 pos_cpy.x = pos_cpy.x - viewport_height; in dcn10_set_cursor_position()
3585 pos_cpy.y = viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
3587 pos_cpy.y = 2 * viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
3591 pos_cpy.y = (2 * viewport_y) + viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
Ddcn10_hubp.h677 uint32_t viewport_height; member
Ddcn10_hubp.c1031 PRI_VIEWPORT_HEIGHT, &s->viewport_height); in hubp1_read_state_common()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1400 pipes[pipe_cnt].pipe.src.viewport_height = timing->v_addressable; in dcn20_populate_dml_pipes_from_context()
1401 if (pipes[pipe_cnt].pipe.src.viewport_height > 1080) in dcn20_populate_dml_pipes_from_context()
1402 pipes[pipe_cnt].pipe.src.viewport_height = 1080; in dcn20_populate_dml_pipes_from_context()
1403 pipes[pipe_cnt].pipe.src.surface_height_y = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context()
1405 pipes[pipe_cnt].pipe.src.surface_height_c = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context()
1410 …pipes[pipe_cnt].pipe.dest.recout_height = pipes[pipe_cnt].pipe.src.viewport_height; /*vp_height/vr… in dcn20_populate_dml_pipes_from_context()
1469 pipes[pipe_cnt].pipe.src.viewport_height = scl->viewport.height; in dcn20_populate_dml_pipes_from_context()
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()
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-6.1.9/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_lib.c197 dml_print("DML PARAMS: viewport_height = %d\n", pipe_src->viewport_height); in dml_log_pipe_params()
Ddisplay_mode_structs.h406 unsigned int viewport_height; member
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()
Ddisplay_mode_vba.c552 src->viewport_height; in fetch_pipe_params()
796 src_k->viewport_height; in fetch_pipe_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Ddcn_calcs.h181 float viewport_height[number_of_planes_minus_one + 1]; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/
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-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c682 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1090 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c675 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1011 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c763 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param()
1109 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c1256 PRI_VIEWPORT_HEIGHT, &s->viewport_height); in hubp2_read_state_common()