Home
last modified time | relevance | path

Searched refs:in_taps (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn201/
Ddcn201_dpp.c193 const struct scaling_taps *in_taps) in dpp201_get_optimal_number_of_taps() argument
218 if (in_taps->h_taps == 0) { in dpp201_get_optimal_number_of_taps()
224 scl_data->taps.h_taps = in_taps->h_taps; in dpp201_get_optimal_number_of_taps()
226 if (in_taps->v_taps == 0) { in dpp201_get_optimal_number_of_taps()
232 scl_data->taps.v_taps = in_taps->v_taps; in dpp201_get_optimal_number_of_taps()
233 if (in_taps->v_taps_c == 0) { 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()
240 if (in_taps->h_taps_c == 0) { in dpp201_get_optimal_number_of_taps()
245 } else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp201_get_optimal_number_of_taps()
247 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp201_get_optimal_number_of_taps()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
Ddcn10_dpp.c127 const struct scaling_taps *in_taps) in dpp1_get_optimal_number_of_taps() argument
154 if (in_taps->h_taps == 0) in dpp1_get_optimal_number_of_taps()
157 scl_data->taps.h_taps = in_taps->h_taps; in dpp1_get_optimal_number_of_taps()
158 if (in_taps->v_taps == 0) in dpp1_get_optimal_number_of_taps()
161 scl_data->taps.v_taps = in_taps->v_taps; in dpp1_get_optimal_number_of_taps()
162 if (in_taps->v_taps_c == 0) 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()
166 if (in_taps->h_taps_c == 0) in dpp1_get_optimal_number_of_taps()
169 else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp1_get_optimal_number_of_taps()
170 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp1_get_optimal_number_of_taps()
[all …]
Ddcn10_dpp.h1517 const struct scaling_taps *in_taps);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1141 static uint32_t decide_taps(struct fixed31_32 ratio, uint32_t in_taps, bool chroma) in decide_taps() argument
1147 } else if (in_taps != 0) { in decide_taps()
1148 taps = in_taps; in decide_taps()
1166 const struct scaling_taps *in_taps) in dce_transform_get_optimal_number_of_taps() argument
1182 if (in_taps->v_taps >= max_num_of_lines) in dce_transform_get_optimal_number_of_taps()
1194 scl_data->taps.h_taps = decide_taps(scl_data->ratios.horz, in_taps->h_taps, false); 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()
1196 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()
1197 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()
1201 if (in_taps->v_taps == 0 in dce_transform_get_optimal_number_of_taps()
Ddce_transform.h673 const struct scaling_taps *in_taps);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/
Ddcn30_dpp.c421 const struct scaling_taps *in_taps) in dpp3_get_optimal_number_of_taps() argument
438 if (in_taps->h_taps == 0) { in dpp3_get_optimal_number_of_taps()
444 scl_data->taps.h_taps = in_taps->h_taps; in dpp3_get_optimal_number_of_taps()
445 if (in_taps->v_taps == 0) { in dpp3_get_optimal_number_of_taps()
451 scl_data->taps.v_taps = in_taps->v_taps; in dpp3_get_optimal_number_of_taps()
452 if (in_taps->v_taps_c == 0) { 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()
459 if (in_taps->h_taps_c == 0) { in dpp3_get_optimal_number_of_taps()
464 } else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp3_get_optimal_number_of_taps()
466 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp3_get_optimal_number_of_taps()
[all …]
Ddcn30_dpp.h599 const struct scaling_taps *in_taps);
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/
Ddc_spl.c874 const struct spl_taps *in_taps, bool *enable_easf_v, bool *enable_easf_h, in spl_get_optimal_number_of_taps() argument
897 if (in_taps->h_taps == 0) { in spl_get_optimal_number_of_taps()
904 spl_scratch->scl_data.taps.h_taps = in_taps->h_taps; in spl_get_optimal_number_of_taps()
905 if (in_taps->v_taps == 0) { in spl_get_optimal_number_of_taps()
912 spl_scratch->scl_data.taps.v_taps = in_taps->v_taps; in spl_get_optimal_number_of_taps()
913 if (in_taps->v_taps_c == 0) { 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()
921 if (in_taps->h_taps_c == 0) { in spl_get_optimal_number_of_taps()
927 } else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in spl_get_optimal_number_of_taps()
929 spl_scratch->scl_data.taps.h_taps_c = in_taps->h_taps_c - 1; in spl_get_optimal_number_of_taps()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtransform.h183 const struct scaling_taps *in_taps);
Ddpp.h237 const struct scaling_taps *in_taps);