Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c186 coordinates_x[index].x = dc_fixpt_add in setup_x_points_distribution()
226 dc_fixpt_add(c1, in compute_pq()
228 dc_fixpt_add(dc_fixpt_one, in compute_pq()
297 x = dc_fixpt_add(x, b); in compute_hlg_eotf()
331 *out_y = dc_fixpt_add(x, c); in compute_hlg_oetf()
450 scratch_1 = dc_fixpt_add(one, args->a3); in translate_from_linear_space()
463 scratch_1 = dc_fixpt_add(one, args->a3); in translate_from_linear_space()
503 dc_fixpt_add( in translate_from_linear_space_long()
512 dc_fixpt_add( in translate_from_linear_space_long()
560 dc_fixpt_add( in translate_to_linear_space()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/basics/
Dfixpt31_32.c319 res = dc_fixpt_add( in fixed31_32_exp_from_taylor_series()
328 return dc_fixpt_add( in fixed31_32_exp_from_taylor_series()
390 struct fixed31_32 res1 = dc_fixpt_add( in dc_fixpt_log()
/linux-6.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c773 tmp_h_init_phase_chroma = dc_fixpt_add(tmp_h_init_phase_chroma, dc_fixpt_from_fraction(1, 4)); in dwb_program_horz_scalar()
852 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.12.1/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c258 rgb_plus_1->red = dc_fixpt_add(rgb->red, in cm3_helper_translate_curve_to_hw_format()
261 rgb_plus_1->green = dc_fixpt_add(rgb->green, in cm3_helper_translate_curve_to_hw_format()
264 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, in cm3_helper_translate_curve_to_hw_format()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c502 rgb_plus_1->red = dc_fixpt_add(rgb->red, rgb_minus_1->delta_red); in cm_helper_translate_curve_to_hw_format()
504 rgb_plus_1->green = dc_fixpt_add(rgb->green, rgb_minus_1->delta_green); in cm_helper_translate_curve_to_hw_format()
506 rgb_plus_1->blue = dc_fixpt_add(rgb->blue, rgb_minus_1->delta_blue); in cm_helper_translate_curve_to_hw_format()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
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.12.1/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.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
Ddcn401_dpp_dscl.c607 struct fixed31_32 bot = dc_fixpt_add(data->inits.v, data->ratios.vert); in dpp401_dscl_set_manual_ratio_init()
623 struct fixed31_32 bot = dc_fixpt_add(data->inits.v_c, data->ratios.vert_c); in dpp401_dscl_set_manual_ratio_init()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c1217 *init = dc_fixpt_truncate(dc_fixpt_add(dc_fixpt_div_int( in calculate_init_and_vp()
1237 temp = dc_fixpt_add(*init, dc_fixpt_mul_int(ratio, recout_size - 1)); in calculate_init_and_vp()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1059 avg_time_slots_per_mtp = dc_fixpt_add( in log_vcp_x_y()