Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
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()
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/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1105 int viewport_height = state->crtc_h; in amdgpu_dm_plane_helper_check_state() local
1113 viewport_height += state->crtc_y; in amdgpu_dm_plane_helper_check_state()
1115 viewport_height = new_crtc_state->mode.crtc_vdisplay - state->crtc_y; in amdgpu_dm_plane_helper_check_state()
1117 if (viewport_width < 0 || viewport_height < 0) { in amdgpu_dm_plane_helper_check_state()
1123 } else if (viewport_height < MIN_VIEWPORT_SIZE) { in amdgpu_dm_plane_helper_check_state()
1124 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/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()
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_structs.h408 unsigned int viewport_height; member
H A Ddisplay_mode_vba.c554 src->viewport_height; in fetch_pipe_params()
804 src_k->viewport_height; in fetch_pipe_params()