/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_scl_filters.c | 1343 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()
|
D | dce_clk_mgr.c | 141 ss_percentage = dc_fixpt_sub(dc_fixpt_one, ss_percentage); in clk_mgr_adjust_dp_ref_freq_for_ss()
|
/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 220 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 …]
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_dwb_scl.c | 532 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()
|
D | dcn20_resource.c | 2339 scl->ratios.vert.value != dc_fixpt_one.value 2340 || scl->ratios.horz.value != dc_fixpt_one.value 2341 || scl->ratios.vert_c.value != dc_fixpt_one.value 2342 || scl->ratios.horz_c.value != dc_fixpt_one.value /*Lb only or Full scl*/
|
/drivers/gpu/drm/amd/display/dc/calcs/ |
D | custom_float.c | 65 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()
|
D | dcn_calcs.c | 995 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth() 997 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth() 1000 ASSERT(pipe->plane_res.scl_data.ratios.horz.value != dc_fixpt_one.value in dcn_validate_bandwidth() 1002 ASSERT(pipe->plane_res.scl_data.ratios.vert.value != dc_fixpt_one.value in dcn_validate_bandwidth()
|
/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 120 dc_fixpt_add(dc_fixpt_one, in compute_pq() 148 dc_fixpt_div(dc_fixpt_one, m2)); in compute_de_pq() 159 *out_y = dc_fixpt_pow(base2, dc_fixpt_div(dc_fixpt_one, m1)); in compute_de_pq() 443 dc_fixpt_one, a3)), gamma)); in translate_to_linear_space() 453 dc_fixpt_one, a3)), gamma); in translate_to_linear_space() 721 result = dc_fixpt_one; in calculate_mapped_value() 768 else if (dc_fixpt_lt(dc_fixpt_one, output)) in build_pq() 769 output = dc_fixpt_one; in build_pq() 881 compute_pq(dc_fixpt_one, &max_content_pq); // always 1? DAL2 code is weird in hermite_spline_eetf() 882 a = dc_fixpt_div(dc_fixpt_add(dc_fixpt_one, b), max_content_pq); // (1+b)/maxContent in hermite_spline_eetf() [all …]
|
/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 70 static const struct fixed31_32 dc_fixpt_one = { 0x100000000LL }; variable 435 return arg2.value == 0 ? dc_fixpt_one : dc_fixpt_zero; in dc_fixpt_pow() 490 const long long summand = dc_fixpt_one.value - in dc_fixpt_ceil()
|
/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 439 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()
|
D | dcn10_dpp.c | 140 scl_data->ratios.horz.value != dc_fixpt_one.value && in dpp1_get_optimal_number_of_taps() 141 scl_data->ratios.vert.value != dc_fixpt_one.value) in dpp1_get_optimal_number_of_taps()
|
D | dcn10_dpp_dscl.c | 172 const long long one = dc_fixpt_one.value; in dpp1_dscl_get_dscl_mode()
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_cm_common.c | 241 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()
|
/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
D | dce_clk_mgr.c | 122 ss_percentage = dc_fixpt_sub(dc_fixpt_one, ss_percentage); in dce_adjust_dp_ref_freq_for_ss()
|
/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 557 dc_fixpt_sub(dc_fixpt_one, arr_points[1].y), in dce110_translate_regamma_to_hw_format()
|