Home
last modified time | relevance | path

Searched refs:dc_fixpt_add (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c88 coordinates_x[index].x = dc_fixpt_add in setup_x_points_distribution()
128 dc_fixpt_add(c1, in compute_pq()
130 dc_fixpt_add(dc_fixpt_one, in compute_pq()
199 x = dc_fixpt_add(x, b); in compute_hlg_eotf()
233 *out_y = dc_fixpt_add(x, c); in compute_hlg_oetf()
346 scratch_1 = dc_fixpt_add(one, args->a3); in translate_from_linear_space()
359 scratch_1 = dc_fixpt_add(one, args->a3); in translate_from_linear_space()
399 dc_fixpt_add( in translate_from_linear_space_long()
408 dc_fixpt_add( in translate_from_linear_space_long()
456 dc_fixpt_add( in translate_to_linear_space()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c323 res = dc_fixpt_add( in fixed31_32_exp_from_taylor_series()
332 return dc_fixpt_add( in fixed31_32_exp_from_taylor_series()
394 struct fixed31_32 res1 = dc_fixpt_add( in dc_fixpt_log()
/linux-6.6.21/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h245 static inline struct fixed31_32 dc_fixpt_add(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_add() function
263 return dc_fixpt_add(arg1, dc_fixpt_from_int(arg2)); in dc_fixpt_add_int()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c770 tmp_h_init_phase_chroma = dc_fixpt_add(tmp_h_init_phase_chroma, dc_fixpt_from_fraction(1, 4)); in dwb_program_horz_scalar()
849 tmp_v_init_phase_chroma = dc_fixpt_add(tmp_v_init_phase_chroma, dc_fixpt_from_fraction(1, 4)); in dwb_program_vert_scalar()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c477 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm_helper_translate_curve_to_hw_format()
479 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm_helper_translate_curve_to_hw_format()
481 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm_helper_translate_curve_to_hw_format()
Ddcn10_dpp_dscl.c550 struct fixed31_32 bot = dc_fixpt_add(data->inits.v, data->ratios.vert); in dpp1_dscl_set_manual_ratio_init()
566 struct fixed31_32 bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c); in dpp1_dscl_set_manual_ratio_init()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c274 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm3_helper_translate_curve_to_hw_format()
276 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm3_helper_translate_curve_to_hw_format()
278 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm3_helper_translate_curve_to_hw_format()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_transform.c292 dc_fixpt_add( in calculate_inits()
301 dc_fixpt_add( in calculate_inits()
330 dc_fixpt_add( in dce60_calculate_inits()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1258 *init = dc_fixpt_truncate(dc_fixpt_add(dc_fixpt_div_int( in calculate_init_and_vp()
1278 temp = dc_fixpt_add(*init, dc_fixpt_mul_int(ratio, recout_size - 1)); in calculate_init_and_vp()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1010 avg_time_slots_per_mtp = dc_fixpt_add( in log_vcp_x_y()