Home
last modified time | relevance | path

Searched refs:dc_fixpt_one (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/
Ddce_scl_filters.c1343 if (ratio.value < dc_fixpt_one.value) in get_filter_3tap_16p()
1355 if (ratio.value < dc_fixpt_one.value) in get_filter_3tap_64p()
1367 if (ratio.value < dc_fixpt_one.value) in get_filter_4tap_16p()
1379 if (ratio.value < dc_fixpt_one.value) in get_filter_4tap_64p()
1391 if (ratio.value < dc_fixpt_one.value) in get_filter_5tap_64p()
1403 if (ratio.value < dc_fixpt_one.value) in get_filter_6tap_64p()
1415 if (ratio.value < dc_fixpt_one.value) in get_filter_7tap_64p()
1427 if (ratio.value < dc_fixpt_one.value) in get_filter_8tap_64p()
Ddce_clk_mgr.c141 ss_percentage = dc_fixpt_sub(dc_fixpt_one, ss_percentage); in clk_mgr_adjust_dp_ref_freq_for_ss()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c220 dc_fixpt_one.value, in dc_fixpt_recip()
228 struct fixed31_32 res = dc_fixpt_one; in dc_fixpt_sinc()
250 dc_fixpt_one, in dc_fixpt_sinc()
281 struct fixed31_32 res = dc_fixpt_one; in dc_fixpt_cos()
287 dc_fixpt_one, in dc_fixpt_cos()
316 ASSERT(dc_fixpt_lt(arg, dc_fixpt_one)); in fixed31_32_exp_from_taylor_series()
320 dc_fixpt_one, in fixed31_32_exp_from_taylor_series()
329 dc_fixpt_one, in fixed31_32_exp_from_taylor_series()
362 dc_fixpt_one)); in dc_fixpt_exp()
375 return dc_fixpt_one; in dc_fixpt_exp()
[all …]
Dcustom_float.c57 if (dc_fixpt_lt(value, dc_fixpt_one)) { in build_custom_float()
63 } while (dc_fixpt_lt(value, dc_fixpt_one)); in build_custom_float()
87 mantiss = dc_fixpt_sub(value, dc_fixpt_one); in build_custom_float()
90 dc_fixpt_lt(dc_fixpt_one, mantiss)) in build_custom_float()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c532 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_3tap_16p()
544 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_4tap_16p()
556 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_5tap_16p()
568 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_6tap_16p()
580 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_7tap_16p()
592 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_8tap_16p()
604 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_9tap_16p()
615 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_10tap_16p()
627 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_11tap_16p()
639 if (ratio.value < dc_fixpt_one.value) in wbscl_get_filter_12tap_16p()
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c228 dc_fixpt_add(dc_fixpt_one, in compute_pq()
256 dc_fixpt_div(dc_fixpt_one, m2)); in compute_de_pq()
267 *out_y = dc_fixpt_pow(base2, dc_fixpt_div(dc_fixpt_one, m1)); in compute_de_pq()
561 dc_fixpt_one, a3)), gamma)); in translate_to_linear_space()
571 dc_fixpt_one, a3)), gamma); in translate_to_linear_space()
838 result = dc_fixpt_one; in calculate_mapped_value()
996 compute_pq(dc_fixpt_one, &max_content_pq); // always 1? DAL2 code is weird in hermite_spline_eetf()
997 a = dc_fixpt_div(dc_fixpt_add(dc_fixpt_one, b), max_content_pq); // (1+b)/maxContent in hermite_spline_eetf()
1002 else if (dc_fixpt_le(ks, E1) && dc_fixpt_le(E1, dc_fixpt_one)) { in hermite_spline_eetf()
1003 if (dc_fixpt_lt(epsilon, dc_fixpt_sub(dc_fixpt_one, ks))) in hermite_spline_eetf()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h70 static const struct fixed31_32 dc_fixpt_one = { 0x100000000LL }; variable
429 return arg2.value == 0 ? dc_fixpt_one : dc_fixpt_zero; in dc_fixpt_pow()
484 const long long summand = dc_fixpt_one.value - in dc_fixpt_ceil()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c467 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm_helper_translate_curve_to_hw_format()
470 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm_helper_translate_curve_to_hw_format()
473 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm_helper_translate_curve_to_hw_format()
644 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm_helper_translate_curve_to_degamma_hw_format()
647 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm_helper_translate_curve_to_degamma_hw_format()
650 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm_helper_translate_curve_to_degamma_hw_format()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c386 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm3_helper_translate_curve_to_degamma_hw_format()
389 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm3_helper_translate_curve_to_degamma_hw_format()
392 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm3_helper_translate_curve_to_degamma_hw_format()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
Ddcn10_dpp.c132 scl_data->ratios.horz.value != dc_fixpt_one.value && in dpp1_get_optimal_number_of_taps()
133 scl_data->ratios.vert.value != dc_fixpt_one.value) in dpp1_get_optimal_number_of_taps()
Ddcn10_dpp_dscl.c128 const long long one = dc_fixpt_one.value; in dpp1_dscl_get_dscl_mode()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c770 plane->composition.scaler_info.enabled = scaler_data->ratios.horz.value != dc_fixpt_one.value || in populate_dml21_plane_config_from_plane_state()
771 scaler_data->ratios.horz_c.value != dc_fixpt_one.value || in populate_dml21_plane_config_from_plane_state()
772 scaler_data->ratios.vert.value != dc_fixpt_one.value || in populate_dml21_plane_config_from_plane_state()
773 scaler_data->ratios.vert_c.value != dc_fixpt_one.value; in populate_dml21_plane_config_from_plane_state()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c122 ss_percentage = dc_fixpt_sub(dc_fixpt_one, ss_percentage); in dce_adjust_dp_ref_freq_for_ss()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/calcs/
Ddcn_calcs.c977 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth()
979 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
982 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth()
984 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_translation_helper.c1037 out->ScalerEnabled[location] = scaler_data->ratios.horz.value != dc_fixpt_one.value || in populate_dml_plane_cfg_from_plane_state()
1038 scaler_data->ratios.horz_c.value != dc_fixpt_one.value || in populate_dml_plane_cfg_from_plane_state()
1039 scaler_data->ratios.vert.value != dc_fixpt_one.value || in populate_dml_plane_cfg_from_plane_state()
1040 scaler_data->ratios.vert_c.value != dc_fixpt_one.value; in populate_dml_plane_cfg_from_plane_state()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1676 scl->ratios.vert.value != dc_fixpt_one.value in dcn20_populate_dml_pipes_from_context()
1677 || scl->ratios.horz.value != dc_fixpt_one.value in dcn20_populate_dml_pipes_from_context()
1678 || scl->ratios.vert_c.value != dc_fixpt_one.value 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-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
Ddcn401_dpp_dscl.c130 const long long one = dc_fixpt_one.value; in dpp401_dscl_get_dscl_mode()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/
Ddce110_hwseq.c558 dc_fixpt_sub(dc_fixpt_one, arr_points[1].y), in dce110_translate_regamma_to_hw_format()