/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_transform.c | 133 SCL_V_NUM_OF_TAPS, data->taps.v_taps - 1); in setup_scaling_configuration() 166 SCL_V_NUM_OF_TAPS, data->taps.v_taps - 1); in dce60_setup_scaling_configuration() 449 data->taps.v_taps, in dce_transform_set_scaler() 454 data->taps.v_taps, in dce_transform_set_scaler() 534 data->taps.v_taps, in dce60_transform_set_scaler() 539 data->taps.v_taps, in dce60_transform_set_scaler() 1182 if (in_taps->v_taps >= max_num_of_lines) in dce_transform_get_optimal_number_of_taps() 1195 scl_data->taps.v_taps = decide_taps(scl_data->ratios.vert, in_taps->v_taps, false); in dce_transform_get_optimal_number_of_taps() 1201 if (in_taps->v_taps == 0 in dce_transform_get_optimal_number_of_taps() 1203 && scl_data->taps.v_taps > 1) { in dce_transform_get_optimal_number_of_taps() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/ |
H A D | dcn201_dpp.c | 216 if (in_taps->v_taps == 0) { in dpp201_get_optimal_number_of_taps() 218 scl_data->taps.v_taps = 8; in dpp201_get_optimal_number_of_taps() 220 scl_data->taps.v_taps = 4; in dpp201_get_optimal_number_of_taps() 222 scl_data->taps.v_taps = in_taps->v_taps; in dpp201_get_optimal_number_of_taps() 244 scl_data->taps.v_taps = 1; in dpp201_get_optimal_number_of_taps()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_dpp_dscl.c | 298 v_2tap_hardcode_coef_en = scl_data->taps.v_taps < 3 in dpp1_dscl_set_scl_filter() 300 && (scl_data->taps.v_taps > 1 && scl_data->taps.v_taps_c > 1); in dpp1_dscl_set_scl_filter() 319 scl_data->taps.v_taps, scl_data->ratios.vert); in dpp1_dscl_set_scl_filter() 344 dpp, scl_data->taps.v_taps, in dpp1_dscl_set_scl_filter() 463 int vtaps = scl_data->taps.v_taps; in dpp1_dscl_find_lb_memory_config() 689 SCL_V_NUM_TAPS, scl_data->taps.v_taps - 1, in dpp1_dscl_set_scaler_manual_scale()
|
H A D | dcn10_dpp.c | 158 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_transform_v.c | 167 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dpp.c | 412 if (in_taps->v_taps == 0) { in dpp3_get_optimal_number_of_taps() 414 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() 416 scl_data->taps.v_taps = 4; in dpp3_get_optimal_number_of_taps() 418 scl_data->taps.v_taps = in_taps->v_taps; in dpp3_get_optimal_number_of_taps() 466 if (scl_data->taps.v_taps > max_taps_y) in dpp3_get_optimal_number_of_taps() 467 scl_data->taps.v_taps = max_taps_y; in dpp3_get_optimal_number_of_taps() 476 scl_data->taps.v_taps = 1; in dpp3_get_optimal_number_of_taps()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A 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()
|
H A D | dc_resource.c | 1360 data->taps.v_taps, in calculate_inits_and_viewports()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A 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() 1703 …data->scaler_limits_factor = bw_max2(bw_div(data->v_taps[i], data->v_scaler_efficiency), bw_div(da… in calculate_bandwidth() 2831 data->v_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.v_taps); in populate_initial_data() 2887 …data->v_taps[num_displays * 2 + j] = bw_int_to_fixed(pipe[i].bottom_pipe->plane_res.scl_data.taps.… in populate_initial_data() 2934 data->v_taps[num_displays + 4] = bw_int_to_fixed(pipe[i].plane_res.scl_data.taps.v_taps); in populate_initial_data() 2986 …data->v_taps[num_displays + 4] = pipe[i].stream->src.height == pipe[i].stream->dst.height ? bw_int… in populate_initial_data() [all …]
|
H A 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()
|
H A D | dcn_calcs.c | 404 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dwb_scl.c | 807 uint32_t v_taps_luma = num_taps.v_taps; in dwb_program_vert_scalar()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | dce_calcs.h | 397 struct bw_fixed v_taps[maximum_number_of_surfaces]; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_hw_types.h | 673 uint32_t v_taps; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | dcn30_fpu.c | 296 dout_wb.wb_vtaps_luma = wb_info->dwb_params.scaler_taps.v_taps; in dcn30_fpu_populate_dml_writeback_from_context()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1674 pipes[pipe_cnt].pipe.scale_taps.vtaps = scl->taps.v_taps; in dcn20_populate_dml_pipes_from_context() 2509 dout_wb.wb_vtaps_luma = wb_info->dwb_params.scaler_taps.v_taps; in dcn201_populate_dml_writeback_from_context_fpu()
|