/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 341 input->src.viewport_width = pipe->plane_res.scl_data.viewport.width; in pipe_ctx_to_e2e_pipe_params() 369 input->src.viewport_width_c = input->src.viewport_width / 2; in pipe_ctx_to_e2e_pipe_params() 375 input->src.viewport_width_c = input->src.viewport_width / 2; in pipe_ctx_to_e2e_pipe_params() 383 input->src.viewport_width_c = input->src.viewport_width; in pipe_ctx_to_e2e_pipe_params() 388 input->src.viewport_width_c = input->src.viewport_width; in pipe_ctx_to_e2e_pipe_params() 393 input->src.viewport_width_c = input->src.viewport_width; in pipe_ctx_to_e2e_pipe_params() 920 v->viewport_width[input_idx] = pipe->stream->timing.h_addressable; in dcn_validate_bandwidth() 929 if (v->viewport_width[input_idx] > 1920) in dcn_validate_bandwidth() 930 v->viewport_width[input_idx] = 1920; in dcn_validate_bandwidth() 933 v->scaler_rec_out_width[input_idx] = v->viewport_width[input_idx]; in dcn_validate_bandwidth() [all …]
|
H A D | dcn_calc_auto.c | 46 v->h_ratio[k] = v->viewport_width[k] / v->scaler_rec_out_width[k]; in scaler_settings_calculation() 51 v->v_ratio[k] = v->viewport_width[k] / v->scaler_recout_height[k]; in scaler_settings_calculation() 56 …v->h_ratio[k] =dcn_bw_max2(v->viewport_width[k] / v->scaler_rec_out_width[k], v->viewport_height[k… in scaler_settings_calculation() 59 … =dcn_bw_max2(v->viewport_height[k] / v->scaler_rec_out_width[k], v->viewport_width[k] / v->scaler… in scaler_settings_calculation() 148 v->swath_width_ysingle_dpp[k] = v->viewport_width[k]; in mode_support_and_system_configuration() 621 …v->meta_surface_width_y =dcn_bw_ceil2(v->viewport_width[k] / v->no_of_dpp[i][j][k] - 1.0, v->meta_… in mode_support_and_system_configuration() 665 …viewport_width[k] / v->no_of_dpp[i][j][k] *dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(dcn_bw_… in mode_support_and_system_configuration() 668 …v->dpte_bytes_per_row_y = 64.0 * (dcn_bw_ceil2((v->viewport_width[k] / v->no_of_dpp[i][j][k] - 1.0… in mode_support_and_system_configuration() 681 …v->meta_surface_width_c =dcn_bw_ceil2(v->viewport_width[k] / v->no_of_dpp[i][j][k] / 2.0 - 1.0, v-… in mode_support_and_system_configuration() 726 …viewport_width[k] / v->no_of_dpp[i][j][k] / 2.0 * dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(… in mode_support_and_system_configuration() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/ |
H A D | dml_top_display_cfg_types.h | 486 unsigned int viewport_width; member 491 unsigned int viewport_width; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1554 pipes[pipe_cnt].pipe.src.viewport_width = timing->h_addressable; in dcn20_populate_dml_pipes_from_context() 1555 if (pipes[pipe_cnt].pipe.src.viewport_width > 1920) in dcn20_populate_dml_pipes_from_context() 1556 pipes[pipe_cnt].pipe.src.viewport_width = 1920; in dcn20_populate_dml_pipes_from_context() 1561 pipes[pipe_cnt].pipe.src.surface_width_y = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context() 1563 pipes[pipe_cnt].pipe.src.surface_width_c = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context() 1564 …pipes[pipe_cnt].pipe.src.data_pitch = ((pipes[pipe_cnt].pipe.src.viewport_width + 255) / 256) * 25… in dcn20_populate_dml_pipes_from_context() 1568 …pipes[pipe_cnt].pipe.dest.recout_width = pipes[pipe_cnt].pipe.src.viewport_width; /*vp_width/hrati… in dcn20_populate_dml_pipes_from_context() 1582 pipes[pipe_cnt].pipe.src.viewport_width /= 2; in dcn20_populate_dml_pipes_from_context() 1585 pipes[pipe_cnt].pipe.src.viewport_width /= 4; in dcn20_populate_dml_pipes_from_context() 1627 pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport.width; in dcn20_populate_dml_pipes_from_context()
|
H A D | display_rq_dlg_calc_20.c | 697 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param() 969 vp_width_l = src->viewport_width; in dml20_rq_dlg_get_dlg_params()
|
H A D | display_rq_dlg_calc_20v2.c | 697 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param() 970 vp_width_l = src->viewport_width; in dml20v2_rq_dlg_get_dlg_params()
|
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.c | 1098 int viewport_width = state->crtc_w; in amdgpu_dm_plane_helper_check_state() local 1102 viewport_width += state->crtc_x; in amdgpu_dm_plane_helper_check_state() 1104 viewport_width = new_crtc_state->mode.crtc_hdisplay - state->crtc_x; in amdgpu_dm_plane_helper_check_state() 1111 if (viewport_width < 0 || viewport_height < 0) { in amdgpu_dm_plane_helper_check_state() 1114 } else if (viewport_width < MIN_VIEWPORT_SIZE*2) { /* x2 for width is because of pipe-split. */ in amdgpu_dm_plane_helper_check_state() 1115 DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2); in amdgpu_dm_plane_helper_check_state()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/ |
H A D | dml_top_mcache.c | 364 …ams->mcache_configurations[config_index].pipe_configurations[pipe_index].plane0.viewport_width - 1, in dml2_top_mcache_build_mcache_programming() 395 …ams->mcache_configurations[config_index].pipe_configurations[pipe_index].plane1.viewport_width - 1, in dml2_top_mcache_build_mcache_programming()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn10/ |
H A D | dcn10_hwseq.c | 191 s->viewport_width, in dcn10_log_hubp_states() 3582 int viewport_width = in dcn10_set_cursor_position() local 3589 if (pos_cpy.x >= viewport_width + viewport_x) { in dcn10_set_cursor_position() 3590 pos_cpy.x = 2 * viewport_width in dcn10_set_cursor_position() 3600 pos_cpy.x = 2 * viewport_width - temp_x; in dcn10_set_cursor_position() 3604 pos_cpy.x = viewport_width - pos_cpy.x + 2 * viewport_x; in dcn10_set_cursor_position() 3675 int viewport_width = in dcn10_set_cursor_position() local 3682 if (pos_cpy.x >= viewport_width + viewport_x) { in dcn10_set_cursor_position() 3683 pos_cpy.x = 2 * viewport_width in dcn10_set_cursor_position() 3693 pos_cpy.x = temp_x + viewport_width; in dcn10_set_cursor_position() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | display_mode_lib.c | 195 dml_print("DML PARAMS: viewport_width = %d\n", pipe_src->viewport_width); in dml_log_pipe_params()
|
H A D | display_mode_structs.h | 407 unsigned int viewport_width; member
|
H A D | dml1_display_rq_dlg_calc.c | 629 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param() 1211 vp_width_l = e2e_pipe_param->pipe.src.viewport_width; in dml1_rq_dlg_get_dlg_params()
|
H A D | display_mode_vba.c | 550 src->viewport_width; in fetch_pipe_params() 797 src_k->viewport_width; in fetch_pipe_params()
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | dcn_calcs.h | 175 float viewport_width[number_of_planes_minus_one + 1]; member
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 706 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 1021 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
|
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/ |
H A D | dcn401_hubp.c | 911 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp401_read_state()
|
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/ |
H A D | dcn10_hubp.h | 676 uint32_t viewport_width; member
|
H A D | dcn10_hubp.c | 1031 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp1_read_state_common()
|
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
H A D | dcn20_hubp.c | 1266 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp2_read_state_common()
|