/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 122 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-v5.15/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_dscl.c | 335 v_2tap_hardcode_coef_en = scl_data->taps.v_taps < 3 in dpp1_dscl_set_scl_filter() 337 && (scl_data->taps.v_taps > 1 && scl_data->taps.v_taps_c > 1); in dpp1_dscl_set_scl_filter() 356 scl_data->taps.v_taps, scl_data->ratios.vert); in dpp1_dscl_set_scl_filter() 381 dpp, scl_data->taps.v_taps, in dpp1_dscl_set_scl_filter() 500 int vtaps = scl_data->taps.v_taps; in dpp1_dscl_find_lb_memory_config() 590 SCL_V_NUM_TAPS, scl_data->taps.v_taps - 1, in dpp1_dscl_set_scaler_auto_scale() 779 SCL_V_NUM_TAPS, scl_data->taps.v_taps - 1, in dpp1_dscl_set_scaler_manual_scale()
|
D | dcn10_dpp.c | 166 if (in_taps->v_taps == 0) in dpp1_get_optimal_number_of_taps() 167 scl_data->taps.v_taps = 4; in dpp1_get_optimal_number_of_taps() 169 scl_data->taps.v_taps = in_taps->v_taps; in dpp1_get_optimal_number_of_taps() 186 scl_data->taps.v_taps = 1; in dpp1_get_optimal_number_of_taps()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_transform_v.c | 169 set_reg_field_value(value, data->taps.v_taps - 1, in setup_scaling_configuration() 178 if (data->taps.h_taps + data->taps.v_taps > 2) { in setup_scaling_configuration() 561 coeffs_v = get_filter_coeffs_64p(data->taps.v_taps, data->ratios.vert); in dce110_xfmv_set_scaler() 573 data->taps.v_taps, in dce110_xfmv_set_scaler()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dpp.c | 403 if (in_taps->v_taps == 0) { in dpp3_get_optimal_number_of_taps() 405 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() 407 scl_data->taps.v_taps = 4; in dpp3_get_optimal_number_of_taps() 409 scl_data->taps.v_taps = in_taps->v_taps; in dpp3_get_optimal_number_of_taps() 457 if (scl_data->taps.v_taps > max_taps_y) in dpp3_get_optimal_number_of_taps() 458 scl_data->taps.v_taps = max_taps_y; in dpp3_get_optimal_number_of_taps() 467 scl_data->taps.v_taps = 1; in dpp3_get_optimal_number_of_taps()
|
D | dcn30_resource.c | 1513 dout_wb.wb_vtaps_luma = wb_info->dwb_params.scaler_taps.v_taps; in dcn30_populate_dml_writeback_from_context()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_debug.c | 86 plane_state->scaling_quality.v_taps, in pre_surface_trace() 290 update->scaling_info->scaling_quality.v_taps, in update_surface_trace()
|
D | dc_resource.c | 993 data->taps.v_taps, in calculate_inits_and_viewports()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dce_calcs.c | 384 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 …]
|
D | calcs_logger.h | 431 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] v_taps[%d]:%d", i, bw_fixed_to_int(data->v_taps[i])); in print_bw_calcs_data()
|
D | dcn_calcs.c | 404 input->scale_taps.vtaps = pipe->plane_res.scl_data.taps.v_taps; in pipe_ctx_to_e2e_pipe_params() 1029 v->override_vta_ps[input_idx] = pipe->plane_res.scl_data.taps.v_taps; in dcn_validate_bandwidth()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dwb_scl.c | 804 uint32_t v_taps_luma = num_taps.v_taps; in dwb_program_vert_scalar()
|
D | dcn20_resource.c | 2317 pipes[pipe_cnt].pipe.scale_taps.vtaps = scl->taps.v_taps; in dcn20_populate_dml_pipes_from_context()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/ |
D | dc_hw_types.h | 607 uint32_t v_taps; member
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/ |
D | dce_calcs.h | 397 struct bw_fixed v_taps[maximum_number_of_surfaces]; member
|