Searched refs:dc_fixpt_div (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 225 base = dc_fixpt_div( in compute_pq() 256 dc_fixpt_div(dc_fixpt_one, m2)); in compute_de_pq() 261 base2 = dc_fixpt_div(base, div); in compute_de_pq() 267 *out_y = dc_fixpt_pow(base2, dc_fixpt_div(dc_fixpt_one, m1)); in compute_de_pq() 295 x = dc_fixpt_div(x, a); in compute_hlg_eotf() 558 dc_fixpt_div( in translate_to_linear_space() 565 linear = dc_fixpt_div(arg, a1); in translate_to_linear_space() 568 dc_fixpt_div( in translate_to_linear_space() 756 point->coeff = dc_fixpt_div( in build_custom_gamma_mapping_coefficients_worker() 994 compute_pq(dc_fixpt_div(min_display, max_content), &min_lum_pq); in hermite_spline_eetf() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 442 corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y, in cm_helper_translate_curve_to_hw_format() 444 corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y, in cm_helper_translate_curve_to_hw_format() 446 corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y, in cm_helper_translate_curve_to_hw_format() 466 corner_points[1].red.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format() 469 corner_points[1].green.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format() 472 corner_points[1].blue.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format() 643 corner_points[1].red.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format() 646 corner_points[1].green.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format() 649 corner_points[1].blue.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_cm_common.c | 214 corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y, in cm3_helper_translate_curve_to_hw_format() 216 corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y, in cm3_helper_translate_curve_to_hw_format() 218 corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y, in cm3_helper_translate_curve_to_hw_format() 385 corner_points[1].red.slope = dc_fixpt_div( in cm3_helper_translate_curve_to_degamma_hw_format() 388 corner_points[1].green.slope = dc_fixpt_div( in cm3_helper_translate_curve_to_degamma_hw_format() 391 corner_points[1].blue.slope = dc_fixpt_div( in cm3_helper_translate_curve_to_degamma_hw_format()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 261 res = dc_fixpt_div( in dc_fixpt_sinc() 348 dc_fixpt_div( in dc_fixpt_exp() 394 dc_fixpt_div( in dc_fixpt_log()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/hwss/ |
D | link_hwss_hpo_dp.c | 60 h_blank_in_ms = dc_fixpt_div(dc_fixpt_from_int( in set_hpo_dp_hblank_min_symbol_width() 64 mtp_cnt_per_h_blank = dc_fixpt_div(h_blank_in_ms, in set_hpo_dp_hblank_min_symbol_width()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 332 static inline struct fixed31_32 dc_fixpt_div(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_div() function
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_audio.c | 365 samples_per_line = dc_fixpt_div(samples_per_line, horizontal_line_freq_khz); in calculate_required_audio_bw_in_symbols() 448 average_stream_sym_bw_frac = dc_fixpt_div(peak_stream_bw_kbps, link_bw_kbps); in calculate_available_hblank_bw_in_symbols()
|
D | dce_clock_source.c | 706 ss_step_size = dc_fixpt_div(ss_amount, modulation_time); in calculate_ss()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/ |
D | link_dpms.c | 1489 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in allocate_mst_payload() 1517 dc_fixpt_div(timing_bw, timeslot_bw_effective); in link_calculate_sst_avg_time_slots_per_mtp() 1729 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in link_reduce_mst_payload() 1876 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in link_increase_mst_payload()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn401/ |
D | dcn401_hubp.c | 717 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp401_cursor_set_position()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 76 overhead_factor = dc_fixpt_div( in apply_128b_132b_stream_overhead()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
D | dce110_hwseq.c | 535 arr_points[0].slope = dc_fixpt_div(arr_points[0].y, in dce110_translate_regamma_to_hw_format() 557 arr_points[1].slope = dc_fixpt_div( in dce110_translate_regamma_to_hw_format() 1364 dc_fixpt_div(dc_fixpt_from_int(h_blank * bpp), in populate_audio_dp_link_info()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn10/ |
D | dcn10_hubp.c | 1235 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp1_cursor_set_position()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
D | dcn20_hubp.c | 1031 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp2_cursor_set_position()
|