/linux-6.12.1/drivers/gpu/drm/amd/display/dc/spl/ |
D | dc_spl.c | 392 spl_scratch->scl_data.ratios.vert_c = spl_scratch->scl_data.ratios.vert; in spl_calculate_scaling_ratios() 397 spl_scratch->scl_data.ratios.vert_c.value /= 2; in spl_calculate_scaling_ratios() 405 spl_scratch->scl_data.ratios.vert_c = spl_fixpt_truncate( in spl_calculate_scaling_ratios() 406 spl_scratch->scl_data.ratios.vert_c, 19); in spl_calculate_scaling_ratios() 419 spl_scratch->scl_data.recip_ratios.vert_c = spl_fixpt_recip( in spl_calculate_scaling_ratios() 420 spl_scratch->scl_data.ratios.vert_c); in spl_calculate_scaling_ratios() 432 …>scl_data.viewport_c.height = spl_fixpt_ceil(spl_fixpt_mul_int(spl_scratch->scl_data.ratios.vert_c, in spl_calculate_viewport_size() 656 spl_scratch->scl_data.ratios.vert_c, in spl_calculate_inits_and_viewports() 730 && data->ratios.vert_c.value == one in spl_get_dscl_mode() 748 if (data->ratios.horz_c.value == one && data->ratios.vert_c.value == one) in spl_get_dscl_mode() [all …]
|
D | dc_spl_scl_easf_filters.c | 1511 data->taps.v_taps_c, data->recip_ratios.vert_c); in spl_set_filters_data() 1517 data->taps.v_taps_c, data->ratios.vert_c); in spl_set_filters_data()
|
D | dc_spl_types.h | 30 struct spl_fixed31_32 vert_c; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn201/ |
D | dcn201_dpp.c | 214 if (scl_data->ratios.vert_c.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 215 scl_data->ratios.vert_c.value--; in dpp201_get_optimal_number_of_taps() 234 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 4) in dpp201_get_optimal_number_of_taps() 258 if (IDENTITY_RATIO(scl_data->ratios.vert_c)) in dpp201_get_optimal_number_of_taps()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
D | dcn10_dpp_dscl.c | 139 && data->ratios.vert_c.value == one in dpp1_dscl_get_dscl_mode() 151 if (data->ratios.horz_c.value == one && data->ratios.vert_c.value == one) in dpp1_dscl_get_dscl_mode() 328 scl_data->taps.v_taps_c, scl_data->ratios.vert_c); in dpp1_dscl_set_scl_filter() 466 int ceil_vratio_c = dc_fixpt_ceil(scl_data->ratios.vert_c); in dpp1_dscl_find_lb_memory_config() 526 SCL_V_SCALE_RATIO_C, dc_fixpt_u3d19(data->ratios.vert_c) << 5); in dpp1_dscl_set_manual_ratio_init() 566 struct fixed31_32 bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c); in dpp1_dscl_set_manual_ratio_init()
|
D | dcn10_dpp.c | 150 if (scl_data->ratios.vert_c.value == (4ll << 32)) in dpp1_get_optimal_number_of_taps() 151 scl_data->ratios.vert_c.value--; in dpp1_get_optimal_number_of_taps() 181 if (IDENTITY_RATIO(scl_data->ratios.vert_c)) in dpp1_get_optimal_number_of_taps()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
D | dcn401_dpp_dscl.c | 141 && data->ratios.vert_c.value == one in dpp401_dscl_get_dscl_mode() 153 if (data->ratios.horz_c.value == one && data->ratios.vert_c.value == one) in dpp401_dscl_get_dscl_mode() 314 scl_data->taps.v_taps_c, scl_data->ratios.vert_c); in dpp401_dscl_set_scl_filter() 482 int ceil_vratio_c = dc_fixpt_ceil(scl_data->ratios.vert_c); in dpp401_dscl_find_lb_memory_config() 583 SCL_V_SCALE_RATIO_C, dc_fixpt_u3d19(data->ratios.vert_c) << 5); in dpp401_dscl_set_manual_ratio_init() 623 struct fixed31_32 bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c); in dpp401_dscl_set_manual_ratio_init()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
D | dcn30_dpp.c | 453 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 1) in dpp3_get_optimal_number_of_taps() 454 scl_data->taps.v_taps_c = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert_c, 2)), 8); in dpp3_get_optimal_number_of_taps() 472 min_taps_c = dc_fixpt_ceil(scl_data->ratios.vert_c); in dpp3_get_optimal_number_of_taps() 489 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 2) in dpp3_get_optimal_number_of_taps() 490 max_taps_c = num_part_c - (dc_fixpt_ceil(scl_data->ratios.vert_c) - 2); in dpp3_get_optimal_number_of_taps() 512 if (IDENTITY_RATIO(scl_data->ratios.vert_c)) in dpp3_get_optimal_number_of_taps()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | transform.h | 130 struct fixed31_32 vert_c; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_transform_v.c | 381 dc_fixpt_u2d19(data->ratios.vert_c) << 5; in calculate_inits() 561 coeffs_v_c = get_filter_coeffs_64p(data->taps.v_taps_c, data->ratios.vert_c); in dce110_xfmv_set_scaler()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dc_spl_translate.c | 56 ratios->vert_c = dc_fixpt_from_ux_dy(spl_ratios->v_scale_ratio_c >> 5, 3, 19); in populate_ratios_from_splratios()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_transform.c | 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() 1211 if (!IDENTITY_RATIO(scl_data->ratios.vert_c)) { in dce_transform_get_optimal_number_of_taps()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 779 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size() 1168 pipe_ctx->plane_res.scl_data.ratios.vert_c = pipe_ctx->plane_res.scl_data.ratios.vert; in calculate_scaling_ratios() 1173 pipe_ctx->plane_res.scl_data.ratios.vert_c.value /= 2; in calculate_scaling_ratios() 1181 pipe_ctx->plane_res.scl_data.ratios.vert_c = dc_fixpt_truncate( in calculate_scaling_ratios() 1182 pipe_ctx->plane_res.scl_data.ratios.vert_c, 19); in calculate_scaling_ratios() 1330 data->ratios.vert_c, in calculate_inits_and_viewports()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_translation_helper.c | 773 scaler_data->ratios.vert_c.value != dc_fixpt_one.value; in populate_dml21_plane_config_from_plane_state() 805 …plane->composition.scaler_info.plane1.v_ratio = (double)scaler_data->ratios.vert_c.value / (1ULL <… in populate_dml21_plane_config_from_plane_state()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml2_translation_helper.c | 1040 scaler_data->ratios.vert_c.value != dc_fixpt_one.value; in populate_dml_plane_cfg_from_plane_state() 1059 out->VRatioChroma[location] = (dml_float_t)scaler_data->ratios.vert_c.value / (1ULL << 32); in populate_dml_plane_cfg_from_plane_state()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | dcn20_fpu.c | 1674 …pipes[pipe_cnt].pipe.scale_ratio_depth.vscl_ratio_c = (double) scl->ratios.vert_c.value / (1ULL<<3… in dcn20_populate_dml_pipes_from_context() 1678 || scl->ratios.vert_c.value != dc_fixpt_one.value in dcn20_populate_dml_pipes_from_context()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
D | dcn_calcs.c | 408 input->scale_ratio_depth.vscl_ratio_c = pipe->plane_res.scl_data.ratios.vert_c.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
|