Home
last modified time | relevance | path

Searched refs:v_taps_c (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn201/
Ddcn201_dpp.c233 if (in_taps->v_taps_c == 0) { in dpp201_get_optimal_number_of_taps()
235 scl_data->taps.v_taps_c = 4; in dpp201_get_optimal_number_of_taps()
237 scl_data->taps.v_taps_c = 2; in dpp201_get_optimal_number_of_taps()
239 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp201_get_optimal_number_of_taps()
259 scl_data->taps.v_taps_c = 1; in dpp201_get_optimal_number_of_taps()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Ddc_spl.c655 spl_scratch->scl_data.taps.v_taps_c, in spl_calculate_inits_and_viewports()
913 if (in_taps->v_taps_c == 0) { in spl_get_optimal_number_of_taps()
915 spl_scratch->scl_data.taps.v_taps_c = spl_min(spl_fixpt_ceil(spl_fixpt_mul_int( in spl_get_optimal_number_of_taps()
918 spl_scratch->scl_data.taps.v_taps_c = 4; in spl_get_optimal_number_of_taps()
920 spl_scratch->scl_data.taps.v_taps_c = in_taps->v_taps_c; in spl_get_optimal_number_of_taps()
937 spl_scratch->scl_data.taps.v_taps_c = 4; in spl_get_optimal_number_of_taps()
942 spl_scratch->scl_data.taps.v_taps_c = 6; in spl_get_optimal_number_of_taps()
978 if (spl_scratch->scl_data.taps.v_taps_c > max_taps_c) in spl_get_optimal_number_of_taps()
979 spl_scratch->scl_data.taps.v_taps_c = max_taps_c; in spl_get_optimal_number_of_taps()
999 if (spl_scratch->scl_data.taps.v_taps_c == 5) in spl_get_optimal_number_of_taps()
[all …]
Ddc_spl_scl_easf_filters.c1511 data->taps.v_taps_c, data->recip_ratios.vert_c); in spl_set_filters_data()
1517 data->taps.v_taps_c, data->ratios.vert_c); in spl_set_filters_data()
Ddc_spl_types.h42 uint32_t v_taps_c; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddc_spl_translate.c39 spl_scaling_quality->v_taps_c = scaling_quality->v_taps_c; in populate_spltaps_from_taps()
47 scaling_quality->v_taps_c = spl_scaling_quality->v_taps_c + 1; in populate_taps_from_spltaps()
Ddc_hw_types.h700 uint32_t v_taps_c; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
Ddcn10_dpp_dscl.c299 && scl_data->taps.v_taps_c < 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()
328 scl_data->taps.v_taps_c, scl_data->ratios.vert_c); in dpp1_dscl_set_scl_filter()
356 dpp, scl_data->taps.v_taps_c, in dpp1_dscl_set_scl_filter()
464 int vtaps_c = scl_data->taps.v_taps_c; in dpp1_dscl_find_lb_memory_config()
691 SCL_V_NUM_TAPS_C, scl_data->taps.v_taps_c - 1, in dpp1_dscl_set_scaler_manual_scale()
Ddcn10_dpp.c162 if (in_taps->v_taps_c == 0) in dpp1_get_optimal_number_of_taps()
163 scl_data->taps.v_taps_c = 2; in dpp1_get_optimal_number_of_taps()
165 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp1_get_optimal_number_of_taps()
182 scl_data->taps.v_taps_c = 1; in dpp1_get_optimal_number_of_taps()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_transform_v.c171 set_reg_field_value(value, data->taps.v_taps_c - 1, in setup_scaling_configuration()
185 if (data->taps.h_taps_c + data->taps.v_taps_c > 2) { in setup_scaling_configuration()
561 coeffs_v_c = get_filter_coeffs_64p(data->taps.v_taps_c, data->ratios.vert_c); in dce110_xfmv_set_scaler()
576 data->taps.v_taps_c, in dce110_xfmv_set_scaler()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
Ddcn401_dpp_dscl.c314 scl_data->taps.v_taps_c, scl_data->ratios.vert_c); in dpp401_dscl_set_scl_filter()
322 && scl_data->taps.v_taps_c < 3 in dpp401_dscl_set_scl_filter()
323 && (scl_data->taps.v_taps > 1 && scl_data->taps.v_taps_c > 1); in dpp401_dscl_set_scl_filter()
370 dpp, scl_data->taps.v_taps_c, in dpp401_dscl_set_scl_filter()
480 int vtaps_c = scl_data->taps.v_taps_c; in dpp401_dscl_find_lb_memory_config()
1071 uint32_t v_num_taps_c = scl_data->taps.v_taps_c - 1; in dpp401_dscl_set_scaler_manual_scale()
1109 v_num_taps_c = scl_data->dscl_prog_data.taps.v_taps_c; in dpp401_dscl_set_scaler_manual_scale()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
Ddcn30_dpp.c452 if (in_taps->v_taps_c == 0) { in dpp3_get_optimal_number_of_taps()
454 scl_data->taps.v_taps_c = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert_c, 2)), 8); in dpp3_get_optimal_number_of_taps()
456 scl_data->taps.v_taps_c = 4; in dpp3_get_optimal_number_of_taps()
458 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp3_get_optimal_number_of_taps()
502 if (scl_data->taps.v_taps_c > max_taps_c) in dpp3_get_optimal_number_of_taps()
503 scl_data->taps.v_taps_c = max_taps_c; in dpp3_get_optimal_number_of_taps()
513 scl_data->taps.v_taps_c = 1; in dpp3_get_optimal_number_of_taps()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_debug.c90 plane_state->scaling_quality.v_taps_c); in pre_surface_trace()
294 update->scaling_info->scaling_quality.v_taps_c); in update_surface_trace()
Ddc_resource.c1329 data->taps.v_taps_c, in calculate_inits_and_viewports()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1197 scl_data->taps.v_taps_c = decide_taps(scl_data->ratios.vert_c, in_taps->v_taps, true); in dce_transform_get_optimal_number_of_taps()
1213 if (max_num_of_lines <= scl_data->taps.v_taps_c && scl_data->taps.v_taps_c > 1) { in dce_transform_get_optimal_number_of_taps()
1214 scl_data->taps.v_taps_c = max_num_of_lines - 1; in dce_transform_get_optimal_number_of_taps()
1217 if (scl_data->taps.v_taps_c <= 1) in dce_transform_get_optimal_number_of_taps()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c808 uint32_t v_taps_chroma = num_taps.v_taps_c; in dwb_program_vert_scalar()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c786 (scaler_data->taps.h_taps_c > 1) || (scaler_data->taps.v_taps_c > 1)) in populate_dml21_plane_config_from_plane_state()
820 plane->composition.scaler_info.plane1.v_taps = scaler_data->taps.v_taps_c; in populate_dml21_plane_config_from_plane_state()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1014 pipes[pipe_cnt].dout.wb.wb_vtaps_chroma = wb_info->dwb_params.scaler_taps.v_taps_c; in dcn20_populate_dml_writeback_from_context()
1684 pipes[pipe_cnt].pipe.scale_taps.vtaps_c = scl->taps.v_taps_c; in dcn20_populate_dml_pipes_from_context()
2515 dout_wb.wb_vtaps_chroma = wb_info->dwb_params.scaler_taps.v_taps_c; in dcn201_populate_dml_writeback_from_context_fpu()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c405 input->scale_taps.vtaps_c = pipe->plane_res.scl_data.taps.v_taps_c; in pipe_ctx_to_e2e_pipe_params()
1015 v->override_vta_pschroma[input_idx] = pipe->plane_res.scl_data.taps.v_taps_c; in dcn_validate_bandwidth()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_translation_helper.c1074 out->VTapsChroma[location] = scaler_data->taps.v_taps_c; in populate_dml_plane_cfg_from_plane_state()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c8810 double v_taps_c = p->display_cfg->plane_descriptors[k].composition.scaler_info.plane1.v_taps; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
8816 …e / LBBitPerPixel / ((double)p->SwathWidthC[k] / math_max2(h_ratio_c, 1.0)), 1)) - (v_taps_c - 1)); in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
Ddml2_core_dcn4_calcs.c6510 double v_taps_c = p->display_cfg->plane_descriptors[k].composition.scaler_info.plane1.v_taps; in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport() local
6516 …e / LBBitPerPixel / ((double)p->SwathWidthC[k] / math_max2(h_ratio_c, 1.0)), 1)) - (v_taps_c - 1)); in CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c9694 wb_info->dwb_params.scaler_taps.v_taps_c = 2; in dm_set_writeback()