Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_dpp.c186 const struct scaling_taps *in_taps) in dpp201_get_optimal_number_of_taps() argument
208 if (in_taps->h_taps == 0) { in dpp201_get_optimal_number_of_taps()
214 scl_data->taps.h_taps = in_taps->h_taps; in dpp201_get_optimal_number_of_taps()
216 if (in_taps->v_taps == 0) { in dpp201_get_optimal_number_of_taps()
222 scl_data->taps.v_taps = in_taps->v_taps; in dpp201_get_optimal_number_of_taps()
223 if (in_taps->v_taps_c == 0) { in dpp201_get_optimal_number_of_taps()
229 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp201_get_optimal_number_of_taps()
230 if (in_taps->h_taps_c == 0) { in dpp201_get_optimal_number_of_taps()
235 } else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp201_get_optimal_number_of_taps()
236 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp201_get_optimal_number_of_taps()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/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.h1516 const struct scaling_taps *in_taps);
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c388 const struct scaling_taps *in_taps) in dpp3_get_optimal_number_of_taps() argument
405 if (in_taps->h_taps == 0) { in dpp3_get_optimal_number_of_taps()
411 scl_data->taps.h_taps = in_taps->h_taps; in dpp3_get_optimal_number_of_taps()
412 if (in_taps->v_taps == 0) { in dpp3_get_optimal_number_of_taps()
418 scl_data->taps.v_taps = in_taps->v_taps; in dpp3_get_optimal_number_of_taps()
419 if (in_taps->v_taps_c == 0) { in dpp3_get_optimal_number_of_taps()
425 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp3_get_optimal_number_of_taps()
426 if (in_taps->h_taps_c == 0) { in dpp3_get_optimal_number_of_taps()
431 } else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp3_get_optimal_number_of_taps()
433 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.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddpp.h189 const struct scaling_taps *in_taps);
Dtransform.h196 const struct scaling_taps *in_taps);