Home
last modified time | relevance | path

Searched refs:v_taps (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c122 if (data->taps.h_taps + data->taps.v_taps <= 2) { in setup_scaling_configuration()
133 SCL_V_NUM_OF_TAPS, data->taps.v_taps - 1); in setup_scaling_configuration()
156 if (data->taps.h_taps + data->taps.v_taps <= 2) { in dce60_setup_scaling_configuration()
166 SCL_V_NUM_OF_TAPS, data->taps.v_taps - 1); in dce60_setup_scaling_configuration()
303 dc_fixpt_from_int(data->taps.v_taps + 1)), in calculate_inits()
332 dc_fixpt_from_int(data->taps.v_taps + 1)), in dce60_calculate_inits()
439 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert); in dce_transform_set_scaler()
449 data->taps.v_taps, in dce_transform_set_scaler()
454 data->taps.v_taps, in dce_transform_set_scaler()
524 coeffs_v = get_filter_coeffs_16p(data->taps.v_taps, data->ratios.vert); in dce60_transform_set_scaler()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_dpp.c223 if (in_taps->v_taps == 0) { in dpp201_get_optimal_number_of_taps()
225 scl_data->taps.v_taps = 8; in dpp201_get_optimal_number_of_taps()
227 scl_data->taps.v_taps = 4; in dpp201_get_optimal_number_of_taps()
229 scl_data->taps.v_taps = in_taps->v_taps; in dpp201_get_optimal_number_of_taps()
251 scl_data->taps.v_taps = 1; in dpp201_get_optimal_number_of_taps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c302 v_2tap_hardcode_coef_en = scl_data->taps.v_taps < 3 in dpp1_dscl_set_scl_filter()
304 && (scl_data->taps.v_taps > 1 && scl_data->taps.v_taps_c > 1); in dpp1_dscl_set_scl_filter()
323 scl_data->taps.v_taps, scl_data->ratios.vert); in dpp1_dscl_set_scl_filter()
348 dpp, scl_data->taps.v_taps, in dpp1_dscl_set_scl_filter()
467 int vtaps = scl_data->taps.v_taps; in dpp1_dscl_find_lb_memory_config()
702 SCL_V_NUM_TAPS, scl_data->taps.v_taps - 1, in dpp1_dscl_set_scaler_manual_scale()
Ddcn10_dpp.c158 if (in_taps->v_taps == 0) in dpp1_get_optimal_number_of_taps()
159 scl_data->taps.v_taps = 4; in dpp1_get_optimal_number_of_taps()
161 scl_data->taps.v_taps = in_taps->v_taps; in dpp1_get_optimal_number_of_taps()
178 scl_data->taps.v_taps = 1; in dpp1_get_optimal_number_of_taps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c167 set_reg_field_value(value, data->taps.v_taps - 1, in setup_scaling_configuration()
176 if (data->taps.h_taps + data->taps.v_taps > 2) { in setup_scaling_configuration()
559 coeffs_v = get_filter_coeffs_64p(data->taps.v_taps, data->ratios.vert); in dce110_xfmv_set_scaler()
571 data->taps.v_taps, in dce110_xfmv_set_scaler()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c409 if (in_taps->v_taps == 0) { in dpp3_get_optimal_number_of_taps()
411 scl_data->taps.v_taps = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert, 2)), 8); in dpp3_get_optimal_number_of_taps()
413 scl_data->taps.v_taps = 4; in dpp3_get_optimal_number_of_taps()
415 scl_data->taps.v_taps = in_taps->v_taps; in dpp3_get_optimal_number_of_taps()
463 if (scl_data->taps.v_taps > max_taps_y) in dpp3_get_optimal_number_of_taps()
464 scl_data->taps.v_taps = max_taps_y; in dpp3_get_optimal_number_of_taps()
473 scl_data->taps.v_taps = 1; in dpp3_get_optimal_number_of_taps()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c86 plane_state->scaling_quality.v_taps, in pre_surface_trace()
290 update->scaling_info->scaling_quality.v_taps, in update_surface_trace()
Ddc_resource.c1067 data->taps.v_taps, in calculate_inits_and_viewports()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddce_calcs.c384 data->v_taps[maximum_number_of_surfaces - 2] = bw_int_to_fixed(1); in calculate_bandwidth()
385 data->v_taps[maximum_number_of_surfaces - 1] = bw_int_to_fixed(1); in calculate_bandwidth()
437 data->v_taps[i] = bw_int_to_fixed(1); in calculate_bandwidth()
546 if (bw_mtn(data->vsr[i], data->v_taps[i])) { in calculate_bandwidth()
582 if (bw_mtn(bw_add(data->v_taps[i], bw_int_to_fixed(1)), data->lb_partitions[i])) { in calculate_bandwidth()
805 …data->v_filter_init[i] = bw_floor2(bw_div((bw_add(bw_add(bw_add(bw_int_to_fixed(1), data->v_taps[i… in calculate_bandwidth()
821 …e[i] == bw_def_graphics) && (bw_mtn(data->lb_partitions[i], bw_add(data->v_taps[i], bw_ceil2(data-… in calculate_bandwidth()
1255 …data->scaler_limits_factor = bw_max2(bw_div(data->v_taps[i], data->v_scaler_efficiency), bw_div(da… in calculate_bandwidth()
1258 …ixed(4)), bw_int_to_fixed(1)), bw_mul(data->hsr[i], bw_max2(bw_div(data->v_taps[i], data->v_scaler… in calculate_bandwidth()
1313 …xed(1)) || (bw_leq(data->vsr[i], bw_frc_to_fixed(8, 10)) && bw_leq(data->v_taps[i], bw_int_to_fixe… in calculate_bandwidth()
[all …]
Dcalcs_logger.h431 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] v_taps[%d]:%d", i, bw_fixed_to_int(data->v_taps[i])); in print_bw_calcs_data()
Ddcn_calcs.c404 input->scale_taps.vtaps = pipe->plane_res.scl_data.taps.v_taps; in pipe_ctx_to_e2e_pipe_params()
1013 v->override_vta_ps[input_idx] = pipe->plane_res.scl_data.taps.v_taps; in dcn_validate_bandwidth()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c804 uint32_t v_taps_luma = num_taps.v_taps; in dwb_program_vert_scalar()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h672 uint32_t v_taps; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h397 struct bw_fixed v_taps[maximum_number_of_surfaces]; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddcn30_fpu.c296 dout_wb.wb_vtaps_luma = wb_info->dwb_params.scaler_taps.v_taps; in dcn30_fpu_populate_dml_writeback_from_context()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1523 pipes[pipe_cnt].pipe.scale_taps.vtaps = scl->taps.v_taps; in dcn20_populate_dml_pipes_from_context()
2346 dout_wb.wb_vtaps_luma = wb_info->dwb_params.scaler_taps.v_taps; in dcn201_populate_dml_writeback_from_context_fpu()