Home
last modified time | relevance | path

Searched refs:dc_fixpt_div (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c127 base = dc_fixpt_div( in compute_pq()
158 dc_fixpt_div(dc_fixpt_one, m2)); in compute_de_pq()
163 base2 = dc_fixpt_div(base, div); in compute_de_pq()
169 *out_y = dc_fixpt_pow(base2, dc_fixpt_div(dc_fixpt_one, m1)); in compute_de_pq()
197 x = dc_fixpt_div(x, a); in compute_hlg_eotf()
455 dc_fixpt_div( in translate_to_linear_space()
462 linear = dc_fixpt_div(arg, a1); in translate_to_linear_space()
465 dc_fixpt_div( in translate_to_linear_space()
653 point->coeff = dc_fixpt_div( in build_custom_gamma_mapping_coefficients_worker()
893 compute_pq(dc_fixpt_div(min_display, max_content), &min_lum_pq); in hermite_spline_eetf()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c414 corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y, in cm_helper_translate_curve_to_hw_format()
416 corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y, in cm_helper_translate_curve_to_hw_format()
418 corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y, in cm_helper_translate_curve_to_hw_format()
438 corner_points[1].red.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format()
441 corner_points[1].green.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format()
444 corner_points[1].blue.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format()
605 corner_points[1].red.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format()
608 corner_points[1].green.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format()
611 corner_points[1].blue.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format()
Ddcn10_hubp.c1234 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp1_cursor_set_position()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c213 corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y, in cm3_helper_translate_curve_to_hw_format()
215 corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y, in cm3_helper_translate_curve_to_hw_format()
217 corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y, in cm3_helper_translate_curve_to_hw_format()
240 corner_points[1].red.slope = dc_fixpt_div( in cm3_helper_translate_curve_to_hw_format()
243 corner_points[1].green.slope = dc_fixpt_div( in cm3_helper_translate_curve_to_hw_format()
246 corner_points[1].blue.slope = dc_fixpt_div( in cm3_helper_translate_curve_to_hw_format()
401 corner_points[1].red.slope = dc_fixpt_div( in cm3_helper_translate_curve_to_degamma_hw_format()
404 corner_points[1].green.slope = dc_fixpt_div( in cm3_helper_translate_curve_to_degamma_hw_format()
407 corner_points[1].blue.slope = dc_fixpt_div( in cm3_helper_translate_curve_to_degamma_hw_format()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c265 res = dc_fixpt_div( in dc_fixpt_sinc()
352 dc_fixpt_div( in dc_fixpt_exp()
398 dc_fixpt_div( in dc_fixpt_log()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/link/
Dlink_hwss_hpo_dp.c76 h_blank_in_ms = dc_fixpt_div(dc_fixpt_from_int( in set_hpo_dp_hblank_min_symbol_width()
80 mtp_cnt_per_h_blank = dc_fixpt_div(h_blank_in_ms, in set_hpo_dp_hblank_min_symbol_width()
/linux-6.1.9/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h332 static inline struct fixed31_32 dc_fixpt_div(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_div() function
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c3799 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in dc_link_allocate_mst_payload()
3829 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in dc_link_reduce_mst_payload()
3978 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in dc_link_increase_mst_payload()
Ddc_link_dp.c7023 dc_fixpt_div(timing_bw, timeslot_bw_effective); in calculate_sst_avg_time_slots_per_mtp()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clock_source.c702 ss_step_size = dc_fixpt_div(ss_amount, modulation_time); in calculate_ss()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c541 arr_points[0].slope = dc_fixpt_div(arr_points[0].y, in dce110_translate_regamma_to_hw_format()
563 arr_points[1].slope = dc_fixpt_div( in dce110_translate_regamma_to_hw_format()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c1028 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp2_cursor_set_position()