Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_dpp.c186 const struct scaling_taps *in_taps) in dpp201_get_optimal_number_of_taps() argument
215 if (in_taps->h_taps == 0) { in dpp201_get_optimal_number_of_taps()
221 scl_data->taps.h_taps = in_taps->h_taps; in dpp201_get_optimal_number_of_taps()
223 if (in_taps->v_taps == 0) { in dpp201_get_optimal_number_of_taps()
229 scl_data->taps.v_taps = in_taps->v_taps; in dpp201_get_optimal_number_of_taps()
230 if (in_taps->v_taps_c == 0) { in dpp201_get_optimal_number_of_taps()
236 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp201_get_optimal_number_of_taps()
237 if (in_taps->h_taps_c == 0) { in dpp201_get_optimal_number_of_taps()
242 } else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp201_get_optimal_number_of_taps()
243 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp201_get_optimal_number_of_taps()
[all …]
/linux-6.1.9/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.h1512 const struct scaling_taps *in_taps);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c1142 static uint32_t decide_taps(struct fixed31_32 ratio, uint32_t in_taps, bool chroma) in decide_taps() argument
1148 } else if (in_taps != 0) { in decide_taps()
1149 taps = in_taps; in decide_taps()
1167 const struct scaling_taps *in_taps) in dce_transform_get_optimal_number_of_taps() argument
1183 if (in_taps->v_taps >= max_num_of_lines) in dce_transform_get_optimal_number_of_taps()
1195 scl_data->taps.h_taps = decide_taps(scl_data->ratios.horz, in_taps->h_taps, false); in dce_transform_get_optimal_number_of_taps()
1196 scl_data->taps.v_taps = decide_taps(scl_data->ratios.vert, in_taps->v_taps, false); in dce_transform_get_optimal_number_of_taps()
1197 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()
1198 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()
1202 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.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c385 const struct scaling_taps *in_taps) in dpp3_get_optimal_number_of_taps() argument
402 if (in_taps->h_taps == 0) { in dpp3_get_optimal_number_of_taps()
408 scl_data->taps.h_taps = in_taps->h_taps; in dpp3_get_optimal_number_of_taps()
409 if (in_taps->v_taps == 0) { in dpp3_get_optimal_number_of_taps()
415 scl_data->taps.v_taps = in_taps->v_taps; in dpp3_get_optimal_number_of_taps()
416 if (in_taps->v_taps_c == 0) { in dpp3_get_optimal_number_of_taps()
422 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp3_get_optimal_number_of_taps()
423 if (in_taps->h_taps_c == 0) { in dpp3_get_optimal_number_of_taps()
428 } else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp3_get_optimal_number_of_taps()
430 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp3_get_optimal_number_of_taps()
[all …]
Ddcn30_dpp.h597 const struct scaling_taps *in_taps);
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddpp.h174 const struct scaling_taps *in_taps);
Dtransform.h196 const struct scaling_taps *in_taps);