Searched refs:in_taps (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_dpp.c | 186 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/ |
D | dcn10_dpp.c | 127 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 …]
|
D | dcn10_dpp.h | 1516 const struct scaling_taps *in_taps);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 1141 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()
|
D | dce_transform.h | 673 const struct scaling_taps *in_taps);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_dpp.c | 388 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 …]
|
D | dcn30_dpp.h | 599 const struct scaling_taps *in_taps);
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dpp.h | 189 const struct scaling_taps *in_taps);
|
D | transform.h | 196 const struct scaling_taps *in_taps);
|