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()
49 v->h_ratio[k] = v->viewport_height[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation()
54 v->h_ratio[k] = dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k] / v->scaler_recout_height[k]); in scaler_settings_calculation()
56 v->h_ratio[k] = dcn_bw_max2(v->viewport_height[k] / v->scaler_rec_out_width[k], v->viewport_width[k] / v->scaler_recout_height[k]); in scaler_settings_calculation()
139 v->swath_width_ysingle_dpp[k] = v->viewport_height[k]; in mode_support_and_system_configuration()
562 v->meta_surface_height_y = dcn_bw_ceil2(v->viewport_height[k] - 1.0f, v->meta_req_height_y) + v->meta_req_height_y; in mode_support_and_system_configuration()
602 v->dpte_bytes_per_row_y = 64.0f * (dcn_bw_ceil2((v->viewport_height[k] - 1.0f) / v->data_pte_req_height_y, 1.0f) + 1); in mode_support_and_system_configuration()
612 v->meta_surface_height_c = dcn_bw_ceil2(v->viewport_height[k] / 2.0f - 1.0f, v->meta_req_height_c) + v->meta_req_height_c; in mode_support_and_system_configuration()
653 v->dpte_bytes_per_row_c = 64.0f * (dcn_bw_ceil2((v->viewport_height[k] / 2.0f - 1.0f) / v->data_pte_req_height_c, 1.0f) + 1); in mode_support_and_system_configuration()
1022 v->swath_width = v->viewport_height[ 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.c1566 pipes[pipe_cnt].pipe.src.viewport_height = timing->v_addressable; in dcn20_populate_dml_pipes_from_context()
1567 if (pipes[pipe_cnt].pipe.src.viewport_height > 1080) in dcn20_populate_dml_pipes_from_context()
1568 pipes[pipe_cnt].pipe.src.viewport_height = 1080; in dcn20_populate_dml_pipes_from_context()
1569 pipes[pipe_cnt].pipe.src.surface_height_y = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context()
1571 pipes[pipe_cnt].pipe.src.surface_height_c = pipes[pipe_cnt].pipe.src.viewport_height; in dcn20_populate_dml_pipes_from_context()
1578 pipes[pipe_cnt].pipe.dest.recout_height = pipes[pipe_cnt].pipe.src.viewport_height; /*vp_height/vratio*/ in dcn20_populate_dml_pipes_from_context()
1638 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()