Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c224 dc_fixpt_one.value, in dc_fixpt_recip()
232 struct fixed31_32 res = dc_fixpt_one; in dc_fixpt_sinc()
254 dc_fixpt_one, in dc_fixpt_sinc()
285 struct fixed31_32 res = dc_fixpt_one; in dc_fixpt_cos()
291 dc_fixpt_one, in dc_fixpt_cos()
320 ASSERT(dc_fixpt_lt(arg, dc_fixpt_one)); in fixed31_32_exp_from_taylor_series()
324 dc_fixpt_one, in fixed31_32_exp_from_taylor_series()
333 dc_fixpt_one, in fixed31_32_exp_from_taylor_series()
366 dc_fixpt_one)); in dc_fixpt_exp()
379 return dc_fixpt_one; in dc_fixpt_exp()
[all …]
/linux-5.19.10/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-5.19.10/drivers/gpu/drm/amd/display/dc/dml/calcs/
Dcustom_float.c65 dc_fixpt_one)) { in build_custom_float()
73 dc_fixpt_one)); in build_custom_float()
103 dc_fixpt_one); in build_custom_float()
109 dc_fixpt_one, in build_custom_float()
Ddcn_calcs.c994 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth()
996 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
999 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth()
1001 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
/linux-5.19.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c133 dc_fixpt_add(dc_fixpt_one, in compute_pq()
161 dc_fixpt_div(dc_fixpt_one, m2)); in compute_de_pq()
172 *out_y = dc_fixpt_pow(base2, dc_fixpt_div(dc_fixpt_one, m1)); in compute_de_pq()
461 dc_fixpt_one, a3)), gamma)); in translate_to_linear_space()
471 dc_fixpt_one, a3)), gamma); in translate_to_linear_space()
738 result = dc_fixpt_one; in calculate_mapped_value()
785 else if (dc_fixpt_lt(dc_fixpt_one, output)) in build_pq()
786 output = dc_fixpt_one; in build_pq()
898 compute_pq(dc_fixpt_one, &max_content_pq); // always 1? DAL2 code is weird in hermite_spline_eetf()
899 a = dc_fixpt_div(dc_fixpt_add(dc_fixpt_one, b), max_content_pq); // (1+b)/maxContent in hermite_spline_eetf()
[all …]
/linux-5.19.10/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-5.19.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c439 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm_helper_translate_curve_to_hw_format()
442 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm_helper_translate_curve_to_hw_format()
445 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm_helper_translate_curve_to_hw_format()
606 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm_helper_translate_curve_to_degamma_hw_format()
609 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm_helper_translate_curve_to_degamma_hw_format()
612 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm_helper_translate_curve_to_degamma_hw_format()
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.c131 const long long one = dc_fixpt_one.value; in dpp1_dscl_get_dscl_mode()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c241 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm3_helper_translate_curve_to_hw_format()
244 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm3_helper_translate_curve_to_hw_format()
247 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm3_helper_translate_curve_to_hw_format()
402 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm3_helper_translate_curve_to_degamma_hw_format()
405 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm3_helper_translate_curve_to_degamma_hw_format()
408 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm3_helper_translate_curve_to_degamma_hw_format()
/linux-5.19.10/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-5.19.10/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddcn20_fpu.c1255 scl->ratios.vert.value != dc_fixpt_one.value in dcn20_populate_dml_pipes_from_context()
1256 || scl->ratios.horz.value != dc_fixpt_one.value in dcn20_populate_dml_pipes_from_context()
1257 || scl->ratios.vert_c.value != dc_fixpt_one.value in dcn20_populate_dml_pipes_from_context()
1258 || scl->ratios.horz_c.value != dc_fixpt_one.value /*Lb only or Full scl*/ in dcn20_populate_dml_pipes_from_context()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dml/
Ddml_wrapper.c973 scl->ratios.vert.value != dc_fixpt_one.value in populate_dml_from_dc_pipe_ctx()
974 || scl->ratios.horz.value != dc_fixpt_one.value in populate_dml_from_dc_pipe_ctx()
975 || scl->ratios.vert_c.value != dc_fixpt_one.value in populate_dml_from_dc_pipe_ctx()
976 || scl->ratios.horz_c.value != dc_fixpt_one.value /*Lb only or Full scl*/ in populate_dml_from_dc_pipe_ctx()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c566 dc_fixpt_sub(dc_fixpt_one, arr_points[1].y), in dce110_translate_regamma_to_hw_format()