Home
last modified time | relevance | path

Searched refs:horz_c (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_dpp.c203 if (scl_data->ratios.horz_c.value == (8ll << 32)) in dpp201_get_optimal_number_of_taps()
204 scl_data->ratios.horz_c.value--; in dpp201_get_optimal_number_of_taps()
231 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 4) in dpp201_get_optimal_number_of_taps()
245 if (IDENTITY_RATIO(scl_data->ratios.horz_c)) in dpp201_get_optimal_number_of_taps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_dpp_dscl.c138 && 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 Ddcn10_dpp.c148 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dtransform.h144 struct fixed31_32 horz_c; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_transform_v.c379 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_dpp.c427 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 1) in dpp3_get_optimal_number_of_taps()
428 scl_data->taps.h_taps_c = min(2 * dc_fixpt_ceil(scl_data->ratios.horz_c), 8); in dpp3_get_optimal_number_of_taps()
477 if (IDENTITY_RATIO(scl_data->ratios.horz_c)) in dpp3_get_optimal_number_of_taps()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c805 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size()
1208 pipe_ctx->plane_res.scl_data.ratios.horz_c = pipe_ctx->plane_res.scl_data.ratios.horz; in calculate_scaling_ratios()
1213 pipe_ctx->plane_res.scl_data.ratios.horz_c.value /= 2; in calculate_scaling_ratios()
1220 pipe_ctx->plane_res.scl_data.ratios.horz_c = dc_fixpt_truncate( in calculate_scaling_ratios()
1221 pipe_ctx->plane_res.scl_data.ratios.horz_c, 19); in calculate_scaling_ratios()
1351 data->ratios.horz_c, in calculate_inits_and_viewports()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.c1510 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1524 sd->ratios.horz_c, sd->recout.width - new_width)); in dcn20_split_stream_for_odm()
1529 sd->ratios.horz_c, sd->h_active - sd->recout.x)); in dcn20_split_stream_for_odm()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_transform.c1196 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A Ddcn20_fpu.c1663 …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()
1670 || scl->ratios.horz_c.value != dc_fixpt_one.value /*Lb only or Full scl*/ in dcn20_populate_dml_pipes_from_context()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calcs.c407 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()