Home
last modified time | relevance | path

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

/linux-6.6.21/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()
454 dc_fixpt_div( in translate_to_linear_space()
461 linear = dc_fixpt_div(arg, a1); in translate_to_linear_space()
464 dc_fixpt_div( in translate_to_linear_space()
652 point->coeff = dc_fixpt_div( in build_custom_gamma_mapping_coefficients_worker()
892 compute_pq(dc_fixpt_div(min_display, max_content), &min_lum_pq); in hermite_spline_eetf()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c417 corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y, in cm_helper_translate_curve_to_hw_format()
419 corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y, in cm_helper_translate_curve_to_hw_format()
421 corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y, in cm_helper_translate_curve_to_hw_format()
441 corner_points[1].red.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format()
444 corner_points[1].green.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format()
447 corner_points[1].blue.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format()
616 corner_points[1].red.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format()
619 corner_points[1].green.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format()
622 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.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/link/hwss/
Dlink_hwss_hpo_dp.c58 h_blank_in_ms = dc_fixpt_div(dc_fixpt_from_int( in set_hpo_dp_hblank_min_symbol_width()
62 mtp_cnt_per_h_blank = dc_fixpt_div(h_blank_in_ms, in set_hpo_dp_hblank_min_symbol_width()
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1526 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in allocate_mst_payload()
1554 dc_fixpt_div(timing_bw, timeslot_bw_effective); in link_calculate_sst_avg_time_slots_per_mtp()
1765 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in link_reduce_mst_payload()
1914 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in link_increase_mst_payload()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c76 overhead_factor = dc_fixpt_div( in apply_128b_132b_stream_overhead()
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c536 arr_points[0].slope = dc_fixpt_div(arr_points[0].y, in dce110_translate_regamma_to_hw_format()
558 arr_points[1].slope = dc_fixpt_div( in dce110_translate_regamma_to_hw_format()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c1028 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp2_cursor_set_position()