Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dpp.c377 const struct scaling_taps *in_taps) in dpp2_get_optimal_number_of_taps() argument
411 if (in_taps->h_taps == 0) { in dpp2_get_optimal_number_of_taps()
417 scl_data->taps.h_taps = in_taps->h_taps; in dpp2_get_optimal_number_of_taps()
418 if (in_taps->v_taps == 0) { in dpp2_get_optimal_number_of_taps()
424 scl_data->taps.v_taps = in_taps->v_taps; in dpp2_get_optimal_number_of_taps()
425 if (in_taps->v_taps_c == 0) { in dpp2_get_optimal_number_of_taps()
431 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp2_get_optimal_number_of_taps()
432 if (in_taps->h_taps_c == 0) { in dpp2_get_optimal_number_of_taps()
437 } else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp2_get_optimal_number_of_taps()
439 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp2_get_optimal_number_of_taps()
[all …]
Ddcn20_dpp.h697 const struct scaling_taps *in_taps);
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp.c135 const struct scaling_taps *in_taps) in dpp_get_optimal_number_of_taps() argument
169 if (in_taps->h_taps == 0) in dpp_get_optimal_number_of_taps()
172 scl_data->taps.h_taps = in_taps->h_taps; in dpp_get_optimal_number_of_taps()
173 if (in_taps->v_taps == 0) in dpp_get_optimal_number_of_taps()
176 scl_data->taps.v_taps = in_taps->v_taps; in dpp_get_optimal_number_of_taps()
177 if (in_taps->v_taps_c == 0) in dpp_get_optimal_number_of_taps()
180 scl_data->taps.v_taps_c = in_taps->v_taps_c; in dpp_get_optimal_number_of_taps()
181 if (in_taps->h_taps_c == 0) in dpp_get_optimal_number_of_taps()
184 else if ((in_taps->h_taps_c % 2) != 0 && in_taps->h_taps_c != 1) in dpp_get_optimal_number_of_taps()
185 scl_data->taps.h_taps_c = in_taps->h_taps_c - 1; in dpp_get_optimal_number_of_taps()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c869 static uint32_t decide_taps(struct fixed31_32 ratio, uint32_t in_taps, bool chroma) in decide_taps() argument
875 } else if (in_taps != 0) { in decide_taps()
876 taps = in_taps; in decide_taps()
894 const struct scaling_taps *in_taps) in dce_transform_get_optimal_number_of_taps() argument
910 if (in_taps->v_taps >= max_num_of_lines) in dce_transform_get_optimal_number_of_taps()
922 scl_data->taps.h_taps = decide_taps(scl_data->ratios.horz, in_taps->h_taps, false); in dce_transform_get_optimal_number_of_taps()
923 scl_data->taps.v_taps = decide_taps(scl_data->ratios.vert, in_taps->v_taps, false); in dce_transform_get_optimal_number_of_taps()
924 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()
925 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()
929 if (in_taps->v_taps == 0 in dce_transform_get_optimal_number_of_taps()
Ddce_transform.h495 const struct scaling_taps *in_taps);
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddpp.h133 const struct scaling_taps *in_taps);
Dtransform.h198 const struct scaling_taps *in_taps);