Home
last modified time | relevance | path

Searched refs:h_taps (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c172 if (in_taps->h_taps == 0) in dpp_get_optimal_number_of_taps()
173 scl_data->taps.h_taps = 4; in dpp_get_optimal_number_of_taps()
175 scl_data->taps.h_taps = in_taps->h_taps; in dpp_get_optimal_number_of_taps()
194 scl_data->taps.h_taps = 1; in dpp_get_optimal_number_of_taps()
Ddcn10_dpp_dscl.c307 h_2tap_hardcode_coef_en = scl_data->taps.h_taps < 3 in dpp1_dscl_set_scl_filter()
309 && (scl_data->taps.h_taps > 1 && scl_data->taps.h_taps_c > 1); in dpp1_dscl_set_scl_filter()
329 scl_data->taps.h_taps, scl_data->ratios.horz); in dpp1_dscl_set_scl_filter()
350 dpp, scl_data->taps.h_taps, in dpp1_dscl_set_scl_filter()
553 SCL_H_NUM_TAPS, scl_data->taps.h_taps - 1, in dpp1_dscl_set_scaler_auto_scale()
707 SCL_H_NUM_TAPS, scl_data->taps.h_taps - 1, in dpp1_dscl_set_scaler_manual_scale()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c122 if (data->taps.h_taps + data->taps.v_taps <= 2) { in setup_scaling_configuration()
132 SCL_H_NUM_OF_TAPS, data->taps.h_taps - 1, in setup_scaling_configuration()
267 dc_fixpt_from_int(data->taps.h_taps + 1)), in calculate_inits()
353 coeffs_h = get_filter_coeffs_16p(data->taps.h_taps, data->ratios.horz); in dce_transform_set_scaler()
377 data->taps.h_taps, in dce_transform_set_scaler()
382 data->taps.h_taps, in dce_transform_set_scaler()
922 scl_data->taps.h_taps = decide_taps(scl_data->ratios.horz, in_taps->h_taps, false); in dce_transform_get_optimal_number_of_taps()
924 scl_data->taps.h_taps_c = decide_taps(scl_data->ratios.horz_c, in_taps->h_taps, true); in dce_transform_get_optimal_number_of_taps()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c165 set_reg_field_value(value, data->taps.h_taps - 1, in setup_scaling_configuration()
176 if (data->taps.h_taps + data->taps.v_taps > 2) { in setup_scaling_configuration()
561 coeffs_h = get_filter_coeffs_64p(data->taps.h_taps, data->ratios.horz); in dce110_xfmv_set_scaler()
584 data->taps.h_taps, in dce110_xfmv_set_scaler()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c738 dc_fixpt_add_int(data->ratios.horz, data->taps.h_taps + 1), 2), 19); in calculate_inits_and_adj_vp()
776 if (int_part < data->taps.h_taps) { in calculate_inits_and_adj_vp()
777 int int_adj = data->viewport.x >= (data->taps.h_taps - int_part) ? in calculate_inits_and_adj_vp()
778 (data->taps.h_taps - int_part) : data->viewport.x; in calculate_inits_and_adj_vp()
782 } else if (int_part > data->taps.h_taps) { in calculate_inits_and_adj_vp()
783 data->viewport.x += int_part - data->taps.h_taps; in calculate_inits_and_adj_vp()
784 data->viewport.width -= int_part - data->taps.h_taps; in calculate_inits_and_adj_vp()
785 int_part = data->taps.h_taps; in calculate_inits_and_adj_vp()
847 if (int_part < data->taps.h_taps) { in calculate_inits_and_adj_vp()
848 int int_adj = end_offset >= (data->taps.h_taps - int_part) ? in calculate_inits_and_adj_vp()
[all …]
Ddc_debug.c86 plane_state->scaling_quality.h_taps, in pre_surface_trace()
290 update->scaling_info->scaling_quality.h_taps, in update_surface_trace()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_structs.h374 unsigned int h_taps; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h575 uint32_t h_taps; member
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/calcs/
Ddce_calcs.c364 data->h_taps[maximum_number_of_surfaces - 2] = bw_int_to_fixed(1); in calculate_bandwidth()
365 data->h_taps[maximum_number_of_surfaces - 1] = bw_int_to_fixed(1); in calculate_bandwidth()
418 data->h_taps[i] = bw_int_to_fixed(1); in calculate_bandwidth()
508 if (bw_mtn(data->hsr[i], data->h_taps[i])) { in calculate_bandwidth()
512 …sr[i], bw_int_to_fixed(1)) && bw_leq(data->hsr[i], bw_ceil2(bw_div(data->h_taps[i], bw_int_to_fixe… in calculate_bandwidth()
1244 …data->scaler_limits_factor = bw_max3(bw_int_to_fixed(1), bw_ceil2(bw_div(data->h_taps[i], bw_int_t… in calculate_bandwidth()
1695 …data->scaler_limits_factor = bw_max3(bw_int_to_fixed(1), bw_ceil2(bw_div(data->h_taps[i], bw_int_t… in calculate_bandwidth()
2799 data->h_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.h_taps); in populate_initial_data()
2854 …data->h_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps. in populate_initial_data()
2897 data->h_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.h_taps); in populate_initial_data()
[all …]
Dcalcs_logger.h430 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] h_taps[%d]:%d", i, bw_fixed_to_int(data->h_taps[i])); in print_bw_calcs_data()
Ddcn_calcs.c373 input->scale_taps.htaps = pipe->plane_res.scl_data.taps.h_taps; in pipe_ctx_to_e2e_pipe_params()
936 v->override_hta_ps[input_idx] = pipe->plane_res.scl_data.taps.h_taps; in dcn_validate_bandwidth()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h396 struct bw_fixed h_taps[maximum_number_of_surfaces]; member
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c2114 plane_state->scaling_quality.h_taps = 0; in fill_plane_attributes_from_fb()