/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 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() 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 D | dcn_calc_auto.c | 47 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.c | 1011 int viewport_height = state->crtc_h; in amdgpu_dm_plane_helper_check_state() local 1019 viewport_height += state->crtc_y; in amdgpu_dm_plane_helper_check_state() 1021 viewport_height = new_crtc_state->mode.crtc_vdisplay - state->crtc_y; in amdgpu_dm_plane_helper_check_state() 1023 if (viewport_width < 0 || viewport_height < 0) { in amdgpu_dm_plane_helper_check_state() 1029 } else if (viewport_height < MIN_VIEWPORT_SIZE) { in amdgpu_dm_plane_helper_check_state() 1030 DRM_DEBUG_ATOMIC("Viewport height %d smaller than %d\n", viewport_height, MIN_VIEWPORT_SIZE); in amdgpu_dm_plane_helper_check_state()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hw_sequencer_debug.c | 149 s->viewport_height, in dcn10_get_hubp_states() 169 s->viewport_height, in dcn10_get_hubp_states()
|
H A D | dcn10_hw_sequencer.c | 188 s->viewport_height, in dcn10_log_hubp_states() 3543 int viewport_height = in dcn10_set_cursor_position() local 3585 if (pos_cpy.x > viewport_height) { in dcn10_set_cursor_position() 3586 pos_cpy.x = pos_cpy.x - viewport_height; in dcn10_set_cursor_position() 3587 pos_cpy.y = viewport_height - pos_cpy.x; in dcn10_set_cursor_position() 3589 pos_cpy.y = 2 * viewport_height - pos_cpy.x; in dcn10_set_cursor_position() 3593 pos_cpy.y = (2 * viewport_y) + viewport_height - pos_cpy.x; in dcn10_set_cursor_position()
|
H A D | dcn10_hubp.h | 677 uint32_t viewport_height; member
|
H A D | dcn10_hubp.c | 1031 PRI_VIEWPORT_HEIGHT, &s->viewport_height); in hubp1_read_state_common()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_lib.c | 196 dml_print("DML PARAMS: viewport_height = %d\n", pipe_src->viewport_height); in dml_log_pipe_params()
|
H A D | display_mode_structs.h | 408 unsigned int viewport_height; member
|
H A D | dml1_display_rq_dlg_calc.c | 631 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 D | display_mode_vba.c | 554 src->viewport_height; in fetch_pipe_params() 804 src_k->viewport_height; in fetch_pipe_params()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1550 pipes[pipe_cnt].pipe.src.viewport_height = timing->v_addressable; in dcn20_populate_dml_pipes_from_context() 1551 if (pipes[pipe_cnt].pipe.src.viewport_height > 1080) in dcn20_populate_dml_pipes_from_context() 1552 pipes[pipe_cnt].pipe.src.viewport_height = 1080; in dcn20_populate_dml_pipes_from_context() 1553 pipes[pipe_cnt].pipe.src.surface_height_y = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context() 1555 pipes[pipe_cnt].pipe.src.surface_height_c = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context() 1560 …pipes[pipe_cnt].pipe.dest.recout_height = pipes[pipe_cnt].pipe.src.viewport_height; /*vp_height/vr… in dcn20_populate_dml_pipes_from_context() 1620 pipes[pipe_cnt].pipe.src.viewport_height = scl->viewport.height; in dcn20_populate_dml_pipes_from_context()
|
H A D | display_rq_dlg_calc_20.c | 706 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()
|
H A D | display_rq_dlg_calc_20v2.c | 706 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | dcn_calcs.h | 181 float viewport_height[number_of_planes_minus_one + 1]; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 680 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param() 1088 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_rq_dlg_calc_31.c | 675 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param() 1009 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 715 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_rq_dlg_calc_314.c | 763 vp_height = pipe_param->src.viewport_height; in get_surf_rq_param() 1096 vp_height_l = src->viewport_height; in dml_rq_dlg_get_dlg_params()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hubp.c | 1264 PRI_VIEWPORT_HEIGHT, &s->viewport_height); in hubp2_read_state_common()
|