/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
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 …]
|
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-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_plane.c | 1005 int viewport_width = state->crtc_w; in dm_plane_helper_check_state() local 1009 viewport_width += state->crtc_x; in dm_plane_helper_check_state() 1011 viewport_width = new_crtc_state->mode.crtc_hdisplay - state->crtc_x; in dm_plane_helper_check_state() 1018 if (viewport_width < 0 || viewport_height < 0) { in dm_plane_helper_check_state() 1021 } else if (viewport_width < MIN_VIEWPORT_SIZE*2) { /* x2 for width is because of pipe-split. */ in dm_plane_helper_check_state() 1022 DRM_DEBUG_ATOMIC("Viewport width %d smaller than %d\n", viewport_width, MIN_VIEWPORT_SIZE*2); in dm_plane_helper_check_state()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1397 pipes[pipe_cnt].pipe.src.viewport_width = timing->h_addressable; in dcn20_populate_dml_pipes_from_context() 1398 if (pipes[pipe_cnt].pipe.src.viewport_width > 1920) in dcn20_populate_dml_pipes_from_context() 1399 pipes[pipe_cnt].pipe.src.viewport_width = 1920; in dcn20_populate_dml_pipes_from_context() 1404 pipes[pipe_cnt].pipe.src.surface_width_y = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context() 1406 pipes[pipe_cnt].pipe.src.surface_width_c = pipes[pipe_cnt].pipe.src.viewport_width; in dcn20_populate_dml_pipes_from_context() 1407 …pipes[pipe_cnt].pipe.src.data_pitch = ((pipes[pipe_cnt].pipe.src.viewport_width + 255) / 256) * 25… in dcn20_populate_dml_pipes_from_context() 1409 …pipes[pipe_cnt].pipe.dest.recout_width = pipes[pipe_cnt].pipe.src.viewport_width; /*vp_width/hrati… in dcn20_populate_dml_pipes_from_context() 1423 pipes[pipe_cnt].pipe.src.viewport_width /= 2; in dcn20_populate_dml_pipes_from_context() 1426 pipes[pipe_cnt].pipe.src.viewport_width /= 4; in dcn20_populate_dml_pipes_from_context() 1467 pipes[pipe_cnt].pipe.src.viewport_width = scl->viewport.width; in dcn20_populate_dml_pipes_from_context()
|
D | display_rq_dlg_calc_20.c | 705 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param() 979 vp_width_l = src->viewport_width; in dml20_rq_dlg_get_dlg_params()
|
D | display_rq_dlg_calc_20v2.c | 705 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param() 980 vp_width_l = src->viewport_width; in dml20v2_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 186 s->viewport_width, in dcn10_log_hubp_states() 3504 int viewport_width = in dcn10_set_cursor_position() local 3511 if (pos_cpy.x >= viewport_width + viewport_x) { in dcn10_set_cursor_position() 3512 pos_cpy.x = 2 * viewport_width in dcn10_set_cursor_position() 3522 pos_cpy.x = temp_x + viewport_width; in dcn10_set_cursor_position() 3526 pos_cpy.x = viewport_width - pos_cpy.x + 2 * viewport_x; in dcn10_set_cursor_position() 3597 int viewport_width = in dcn10_set_cursor_position() local 3604 if (pos_cpy.x >= viewport_width + viewport_x) { in dcn10_set_cursor_position() 3605 pos_cpy.x = 2 * viewport_width in dcn10_set_cursor_position() 3615 pos_cpy.x = temp_x + viewport_width; in dcn10_set_cursor_position() [all …]
|
D | dcn10_hw_sequencer_debug.c | 147 s->viewport_width, in dcn10_get_hubp_states() 167 s->viewport_width, in dcn10_get_hubp_states()
|
D | dcn10_hubp.h | 676 uint32_t viewport_width; member
|
D | dcn10_hubp.c | 1030 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp1_read_state_common()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_lib.c | 196 dml_print("DML PARAMS: viewport_width = %d\n", pipe_src->viewport_width); in dml_log_pipe_params()
|
D | display_mode_structs.h | 405 unsigned int viewport_width; member
|
D | dml1_display_rq_dlg_calc.c | 630 vp_width = pipe_src_param->viewport_width / ppe; in get_surf_rq_param() 1212 vp_width_l = e2e_pipe_param->pipe.src.viewport_width; in dml1_rq_dlg_get_dlg_params()
|
D | display_mode_vba.c | 548 src->viewport_width; in fetch_pipe_params() 789 src_k->viewport_width; in fetch_pipe_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | dcn_calcs.h | 175 float viewport_width[number_of_planes_minus_one + 1]; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 714 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 1031 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 681 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 1091 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 674 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 1012 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 762 vp_width = pipe_param->src.viewport_width / ppe; in get_surf_rq_param() 1110 vp_width_l = src->viewport_width; in dml_rq_dlg_get_dlg_params()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hubp.c | 1255 PRI_VIEWPORT_WIDTH, &s->viewport_width, in hubp2_read_state_common()
|