/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_cm_common.c | 439 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm_helper_translate_curve_to_hw_format() 440 dc_fixpt_sub(end_value, corner_points[1].red.x)); in cm_helper_translate_curve_to_hw_format() 442 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm_helper_translate_curve_to_hw_format() 443 dc_fixpt_sub(end_value, corner_points[1].green.x)); in cm_helper_translate_curve_to_hw_format() 445 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm_helper_translate_curve_to_hw_format() 446 dc_fixpt_sub(end_value, corner_points[1].blue.x)); in cm_helper_translate_curve_to_hw_format() 481 rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); in cm_helper_translate_curve_to_hw_format() 482 rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green); in cm_helper_translate_curve_to_hw_format() 483 rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); in cm_helper_translate_curve_to_hw_format() 606 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm_helper_translate_curve_to_degamma_hw_format() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_cm_common.c | 241 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm3_helper_translate_curve_to_hw_format() 242 dc_fixpt_sub(end_value, corner_points[1].red.x)); in cm3_helper_translate_curve_to_hw_format() 244 dc_fixpt_sub(dc_fixpt_one, corner_points[1].green.y), in cm3_helper_translate_curve_to_hw_format() 245 dc_fixpt_sub(end_value, corner_points[1].green.x)); in cm3_helper_translate_curve_to_hw_format() 247 dc_fixpt_sub(dc_fixpt_one, corner_points[1].blue.y), in cm3_helper_translate_curve_to_hw_format() 248 dc_fixpt_sub(end_value, corner_points[1].blue.x)); in cm3_helper_translate_curve_to_hw_format() 281 rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); in cm3_helper_translate_curve_to_hw_format() 282 rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green); in cm3_helper_translate_curve_to_hw_format() 283 rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); in cm3_helper_translate_curve_to_hw_format() 402 dc_fixpt_sub(dc_fixpt_one, corner_points[1].red.y), in cm3_helper_translate_curve_to_degamma_hw_format() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/basics/ |
D | fixpt31_32.c | 237 arg_norm = dc_fixpt_sub( in dc_fixpt_sinc() 249 res = dc_fixpt_sub( in dc_fixpt_sinc() 286 res = dc_fixpt_sub( in dc_fixpt_cos() 352 struct fixed31_32 r = dc_fixpt_sub( in dc_fixpt_exp() 391 dc_fixpt_sub( in dc_fixpt_log() 398 error = dc_fixpt_sub( in dc_fixpt_log()
|
D | conversion.c | 55 dc_fixpt_sub( in fixed_point_to_int_frac()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.c | 149 base = dc_fixpt_sub(l_pow_m1, c1); in compute_de_pq() 151 div = dc_fixpt_sub(c2, dc_fixpt_mul(c3, l_pow_m1)); in compute_de_pq() 156 base2 = dc_fixpt_sub(dc_fixpt_zero, base2); in compute_de_pq() 186 x = dc_fixpt_sub(in_x, c); in compute_hlg_eotf() 220 x = dc_fixpt_sub(x, b); in compute_hlg_oetf() 340 scratch_1 = dc_fixpt_sub(args->a2, scratch_1); in translate_from_linear_space() 362 scratch_1 = dc_fixpt_sub(scratch_1, args->a2); in translate_from_linear_space() 380 return dc_fixpt_sub( in translate_from_linear_space_long() 390 return dc_fixpt_sub( in translate_from_linear_space_long() 441 dc_fixpt_sub(a2, arg), in translate_to_linear_space() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 276 static inline struct fixed31_32 dc_fixpt_sub(struct fixed31_32 arg1, struct fixed31_32 arg2) in dc_fixpt_sub() function 294 return dc_fixpt_sub(arg1, dc_fixpt_from_int(arg2)); in dc_fixpt_sub_int()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
D | custom_float.c | 101 mantiss = dc_fixpt_sub( in build_custom_float()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/ |
D | dce_clk_mgr.c | 122 ss_percentage = dc_fixpt_sub(dc_fixpt_one, ss_percentage); in dce_adjust_dp_ref_freq_for_ss()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 557 dc_fixpt_sub(dc_fixpt_one, arr_points[1].y), in dce110_translate_regamma_to_hw_format() 558 dc_fixpt_sub(end_value, arr_points[1].x)); in dce110_translate_regamma_to_hw_format() 589 rgb->delta_red = dc_fixpt_sub(rgb_plus_1->red, rgb->red); in dce110_translate_regamma_to_hw_format() 590 rgb->delta_green = dc_fixpt_sub(rgb_plus_1->green, rgb->green); in dce110_translate_regamma_to_hw_format() 591 rgb->delta_blue = dc_fixpt_sub(rgb_plus_1->blue, rgb->blue); in dce110_translate_regamma_to_hw_format()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clock_source.c | 683 ss_nslip_amount = dc_fixpt_sub(ss_amount, in calculate_ss() 688 ss_ds_frac_amount = dc_fixpt_sub(ss_nslip_amount, in calculate_ss()
|
D | dce_clk_mgr.c | 141 ss_percentage = dc_fixpt_sub(dc_fixpt_one, ss_percentage); in clk_mgr_adjust_dp_ref_freq_for_ss()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 899 int int_part = dc_fixpt_floor(dc_fixpt_sub(*init, ratio)); in adjust_vp_and_init_for_seamless_clip() 928 int int_part = dc_fixpt_floor(dc_fixpt_sub(*init, ratio)); in adjust_vp_and_init_for_seamless_clip()
|