/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn201/ |
H A D | dcn201_dpp.c | 212 if (scl_data->ratios.horz_c.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps() 213 scl_data->ratios.horz_c.value--; in dpp201_get_optimal_number_of_taps() 241 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 4) in dpp201_get_optimal_number_of_taps() 256 if (IDENTITY_RATIO(scl_data->ratios.horz_c)) in dpp201_get_optimal_number_of_taps()
|
/linux/drivers/gpu/drm/amd/display/dc/spl/ |
H A D | dc_spl.c | 396 spl_scratch->scl_data.ratios.horz_c.value /= 2; in spl_calculate_scaling_ratios() 403 spl_scratch->scl_data.ratios.horz_c = spl_fixpt_truncate( in spl_calculate_scaling_ratios() 404 spl_scratch->scl_data.ratios.horz_c, 19); in spl_calculate_scaling_ratios() 417 spl_scratch->scl_data.recip_ratios.horz_c = spl_fixpt_recip( in spl_calculate_scaling_ratios() 418 spl_scratch->scl_data.ratios.horz_c); in spl_calculate_scaling_ratios() 634 spl_scratch->scl_data.ratios.horz_c, in spl_calculate_inits_and_viewports() 729 && data->ratios.horz_c.value == one in spl_get_dscl_mode() 922 if (spl_fixpt_ceil(spl_scratch->scl_data.ratios.horz_c) > 1) in spl_get_optimal_number_of_taps() 924 spl_scratch->scl_data.ratios.horz_c), 8); in spl_get_optimal_number_of_taps() 1056 if (IDENTITY_RATIO(spl_scratch->scl_data.ratios.horz_c)) in spl_get_optimal_number_of_taps() [all …]
|
H A D | dc_spl_scl_easf_filters.c | 1498 data->taps.h_taps_c, data->recip_ratios.horz_c); in spl_set_filters_data() 1504 data->taps.h_taps_c, data->ratios.horz_c); in spl_set_filters_data()
|
H A D | dc_spl_types.h | 29 struct spl_fixed31_32 horz_c; member
|
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
H A D | dcn10_dpp_dscl.c | 138 && data->ratios.horz_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() 326 scl_data->taps.h_taps_c, scl_data->ratios.horz_c); in dpp1_dscl_set_scl_filter() 523 SCL_H_SCALE_RATIO_C, dc_fixpt_u3d19(data->ratios.horz_c) << 5); in dpp1_dscl_set_manual_ratio_init()
|
H A D | dcn10_dpp.c | 148 if (scl_data->ratios.horz_c.value == (4ll << 32)) in dpp1_get_optimal_number_of_taps() 149 scl_data->ratios.horz_c.value--; in dpp1_get_optimal_number_of_taps() 179 if (IDENTITY_RATIO(scl_data->ratios.horz_c)) in dpp1_get_optimal_number_of_taps()
|
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | transform.h | 129 struct fixed31_32 horz_c; member
|
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
H A D | dcn401_dpp_dscl.c | 140 && data->ratios.horz_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() 312 scl_data->taps.h_taps_c, scl_data->ratios.horz_c); in dpp401_dscl_set_scl_filter() 580 SCL_H_SCALE_RATIO_C, dc_fixpt_u3d19(data->ratios.horz_c) << 5); in dpp401_dscl_set_manual_ratio_init()
|
/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
H A D | dce110_transform_v.c | 379 dc_fixpt_u2d19(data->ratios.horz_c) << 5; in calculate_inits() 562 coeffs_h_c = get_filter_coeffs_64p(data->taps.h_taps_c, data->ratios.horz_c); in dce110_xfmv_set_scaler()
|
/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_spl_translate.c | 55 ratios->horz_c = dc_fixpt_from_ux_dy(spl_ratios->h_scale_ratio_c >> 5, 3, 19); in populate_ratios_from_splratios()
|
/linux/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
H A D | dcn30_dpp.c | 460 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 1) in dpp3_get_optimal_number_of_taps() 461 scl_data->taps.h_taps_c = min(2 * dc_fixpt_ceil(scl_data->ratios.horz_c), 8); in dpp3_get_optimal_number_of_taps() 510 if (IDENTITY_RATIO(scl_data->ratios.horz_c)) in dpp3_get_optimal_number_of_taps()
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 778 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size() 1167 pipe_ctx->plane_res.scl_data.ratios.horz_c = pipe_ctx->plane_res.scl_data.ratios.horz; in calculate_scaling_ratios() 1172 pipe_ctx->plane_res.scl_data.ratios.horz_c.value /= 2; in calculate_scaling_ratios() 1179 pipe_ctx->plane_res.scl_data.ratios.horz_c = dc_fixpt_truncate( in calculate_scaling_ratios() 1180 pipe_ctx->plane_res.scl_data.ratios.horz_c, 19); in calculate_scaling_ratios() 1310 data->ratios.horz_c, in calculate_inits_and_viewports()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
H A D | dml21_translation_helper.c | 771 scaler_data->ratios.horz_c.value != dc_fixpt_one.value || in populate_dml21_plane_config_from_plane_state() 804 …plane->composition.scaler_info.plane1.h_ratio = (double)scaler_data->ratios.horz_c.value / (1ULL <… in populate_dml21_plane_config_from_plane_state()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
H A D | dcn20_resource.c | 1526 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm() 1540 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm() 1545 sd->ratios.horz_c, sd->h_active - sd->recout.x)); in dcn20_split_stream_for_odm()
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_transform.c | 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()
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_translation_helper.c | 1038 scaler_data->ratios.horz_c.value != dc_fixpt_one.value || in populate_dml_plane_cfg_from_plane_state() 1057 out->HRatioChroma[location] = (dml_float_t)scaler_data->ratios.horz_c.value / (1ULL << 32); in populate_dml_plane_cfg_from_plane_state()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | dcn20_fpu.c | 1672 …pipes[pipe_cnt].pipe.scale_ratio_depth.hscl_ratio_c = (double) scl->ratios.horz_c.value / (1ULL<<3… in dcn20_populate_dml_pipes_from_context() 1679 || scl->ratios.horz_c.value != dc_fixpt_one.value /*Lb only or Full scl*/ in dcn20_populate_dml_pipes_from_context()
|
/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 407 input->scale_ratio_depth.hscl_ratio_c = pipe->plane_res.scl_data.ratios.horz_c.value/4294967296.0; in pipe_ctx_to_e2e_pipe_params()
|