Home
last modified time | relevance | path

Searched refs:dc_fixpt_from_fraction (Results 1 – 17 of 17) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_scl_filters.c1345 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_3tap_16p()
1347 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in get_filter_3tap_16p()
1357 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_3tap_64p()
1359 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in get_filter_3tap_64p()
1369 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_4tap_16p()
1371 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in get_filter_4tap_16p()
1381 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_4tap_64p()
1383 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in get_filter_4tap_64p()
1393 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in get_filter_5tap_64p()
1395 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in get_filter_5tap_64p()
[all …]
A Ddce_clock_source.c670 fb_div = dc_fixpt_from_fraction( in calculate_ss()
678 fb_div, dc_fixpt_from_fraction(ss_data->percentage, in calculate_ss()
693 modulation_time = dc_fixpt_from_fraction( in calculate_ss()
A Ddce_clk_mgr.c137 dc_fixpt_from_fraction(clk_mgr_dce->dprefclk_ss_percentage, in clk_mgr_adjust_dp_ref_freq_for_ss()
/linux/drivers/gpu/drm/amd/display/dc/dcn20/
A Ddcn20_dwb_scl.c534 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in wbscl_get_filter_3tap_16p()
536 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in wbscl_get_filter_3tap_16p()
546 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in wbscl_get_filter_4tap_16p()
548 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in wbscl_get_filter_4tap_16p()
558 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in wbscl_get_filter_5tap_16p()
560 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in wbscl_get_filter_5tap_16p()
570 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in wbscl_get_filter_6tap_16p()
572 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in wbscl_get_filter_6tap_16p()
582 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value) in wbscl_get_filter_7tap_16p()
584 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value) in wbscl_get_filter_7tap_16p()
[all …]
/linux/drivers/gpu/drm/amd/display/modules/color/
A Dcolor_gamma.c115 dc_fixpt_from_fraction(7884375, 100000); in compute_pq()
121 dc_fixpt_from_fraction(186875, 10000); in compute_pq()
144 dc_fixpt_from_fraction(7884375, 100000); in compute_de_pq()
150 dc_fixpt_from_fraction(186875, 10000); in compute_de_pq()
193 threshold = dc_fixpt_from_fraction(1, 2); in compute_hlg_eotf()
248 dc_fixpt_from_fraction(80, 10000); in precompute_pq()
1058 dc_fixpt_from_fraction(107, 100)); in build_freesync_hdr()
1332 rgb->r = dc_fixpt_from_fraction( in scale_user_regamma_ramp()
1334 rgb->g = dc_fixpt_from_fraction( in scale_user_regamma_ramp()
1336 rgb->b = dc_fixpt_from_fraction( in scale_user_regamma_ramp()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/basics/
A Dconversion.c85 dc_fixpt_from_fraction(S2D13_MIN, DIVIDER); in convert_float_matrix()
87 dc_fixpt_from_fraction(S2D13_MAX, DIVIDER); in convert_float_matrix()
A Dfixpt31_32.c71 struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator) in dc_fixpt_from_fraction() function
223 return dc_fixpt_from_fraction( in dc_fixpt_recip()
315 struct fixed31_32 res = dc_fixpt_from_fraction( in fixed31_32_exp_from_taylor_series()
A Ddc_common.c90 dc_fixpt_from_fraction(256, 255)), in build_prescale_params()
/linux/drivers/gpu/drm/amd/display/include/
A Dfixed31_32.h81 struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator);
325 return dc_fixpt_from_fraction(arg1.value, dc_fixpt_from_int(arg2).value); in dc_fixpt_div_int()
334 return dc_fixpt_from_fraction(arg1.value, arg2.value); in dc_fixpt_div()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_color.c151 gamma->entries.red[i] = dc_fixpt_from_fraction(r, MAX_DRM_LUT_VALUE); in __drm_lut_to_dc_gamma()
152 gamma->entries.green[i] = dc_fixpt_from_fraction(g, MAX_DRM_LUT_VALUE); in __drm_lut_to_dc_gamma()
153 gamma->entries.blue[i] = dc_fixpt_from_fraction(b, MAX_DRM_LUT_VALUE); in __drm_lut_to_dc_gamma()
/linux/drivers/gpu/drm/amd/display/dc/calcs/
A Dcustom_float.c39 dc_fixpt_from_fraction( in build_custom_float()
/linux/drivers/gpu/drm/amd/display/dc/dsc/
A Ddc_dsc.c976 bpp = dc_fixpt_from_fraction(bpp_x16, 16); in dc_dsc_stream_bandwidth_in_kbps()
977 actual_bandwidth_in_kbps = dc_fixpt_from_fraction(timing->pix_clk_100hz, 10); in dc_dsc_stream_bandwidth_in_kbps()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
A Ddce_clk_mgr.c118 dc_fixpt_from_fraction(clk_mgr_dce->dprefclk_ss_percentage, in dce_adjust_dp_ref_freq_for_ss()
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A Ddcn30_cm_common.c238 end_value = dc_fixpt_from_fraction(125, 10); in cm3_helper_translate_curve_to_hw_format()
/linux/drivers/gpu/drm/amd/display/dc/core/
A Ddc_resource.c856 pipe_ctx->plane_res.scl_data.ratios.horz = dc_fixpt_from_fraction( in calculate_scaling_ratios()
859 pipe_ctx->plane_res.scl_data.ratios.vert = dc_fixpt_from_fraction( in calculate_scaling_ratios()
A Ddc_link.c3259 peak_kbps = dc_fixpt_from_fraction(kbps, denominator); in get_pbn_from_bw_in_kbps()
3334 avg_time_slots_per_mtp, dc_fixpt_from_fraction(1, 2 * VCP_Y_PRECISION)); in dc_log_vcp_x_y()
/linux/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_hw_sequencer.c3521 multiplier = dc_fixpt_from_fraction(sdr_white_level, 80); in dcn10_set_cursor_sdr_white_level()

Completed in 44 milliseconds