| /linux/drivers/gpu/drm/amd/display/modules/color/ |
| H A 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/drivers/gpu/drm/amd/display/dc/dcn10/ |
| H A D | dcn10_cm_common.c | 437 corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y, in cm_helper_translate_curve_to_hw_format() 439 corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y, in cm_helper_translate_curve_to_hw_format() 441 corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y, in cm_helper_translate_curve_to_hw_format() 461 corner_points[1].red.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format() 464 corner_points[1].green.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format() 467 corner_points[1].blue.slope = dc_fixpt_div( in cm_helper_translate_curve_to_hw_format() 638 corner_points[1].red.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format() 641 corner_points[1].green.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format() 644 corner_points[1].blue.slope = dc_fixpt_div( in cm_helper_translate_curve_to_degamma_hw_format()
|
| /linux/drivers/gpu/drm/amd/display/dc/basics/ |
| H A D | fixpt31_32.c | 256 res = dc_fixpt_div( in dc_fixpt_sinc() 343 dc_fixpt_div( in dc_fixpt_exp() 389 dc_fixpt_div( in dc_fixpt_log()
|
| /linux/drivers/gpu/drm/amd/display/dc/link/hwss/ |
| H A 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/drivers/gpu/drm/amd/display/dc/dcn30/ |
| H A D | dcn30_cm_common.c | 217 corner_points[0].red.slope = dc_fixpt_div(corner_points[0].red.y, in cm3_helper_translate_curve_to_hw_format() 219 corner_points[0].green.slope = dc_fixpt_div(corner_points[0].green.y, in cm3_helper_translate_curve_to_hw_format() 221 corner_points[0].blue.slope = dc_fixpt_div(corner_points[0].blue.y, in cm3_helper_translate_curve_to_hw_format()
|
| /linux/drivers/gpu/drm/amd/display/include/ |
| H A 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/drivers/gpu/drm/amd/display/dc/dce/ |
| H A 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()
|
| H A D | dce_clock_source.c | 706 ss_step_size = dc_fixpt_div(ss_amount, modulation_time); in calculate_ss()
|
| /linux/drivers/gpu/drm/amd/display/dc/link/ |
| H A D | link_validation.c | 591 samples_per_line = dc_fixpt_div(samples_per_line, horizontal_line_freq_khz); in dp_required_hblank_size_bytes()
|
| H A D | link_dpms.c | 1498 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in allocate_mst_payload() 1526 dc_fixpt_div(timing_bw, timeslot_bw_effective); in link_calculate_sst_avg_time_slots_per_mtp() 1737 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in link_reduce_mst_payload() 1845 avg_time_slots_per_mtp = dc_fixpt_div(pbn, pbn_per_slot); in link_increase_mst_payload()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 537 arr_points[0].slope = dc_fixpt_div(arr_points[0].y, in dce110_translate_regamma_to_hw_format() 559 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/drivers/gpu/drm/amd/display/dc/hubp/dcn401/ |
| H A D | dcn401_hubp.c | 776 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp401_cursor_set_position()
|
| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/ |
| H A D | dcn10_hubp.c | 1256 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp1_cursor_set_position()
|
| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/ |
| H A D | dcn20_hubp.c | 1047 dst_x_offset = dc_fixpt_floor(dc_fixpt_div( in hubp2_cursor_set_position()
|