Home
last modified time | relevance | path

Searched refs:dc_fixpt_zero (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c113 if (dc_fixpt_lt(in_x, dc_fixpt_zero)) in compute_pq()
114 in_x = dc_fixpt_zero; in compute_pq()
144 if (dc_fixpt_lt(in_x, dc_fixpt_zero)) in compute_de_pq()
145 in_x = dc_fixpt_zero; in compute_de_pq()
155 if (dc_fixpt_lt(base2, dc_fixpt_zero)) in compute_de_pq()
156 base2 = dc_fixpt_sub(dc_fixpt_zero, base2); in compute_de_pq()
241 pq_table[i] = dc_fixpt_zero; in precompute_pq()
266 de_pq_table[i] = dc_fixpt_zero; in precompute_de_pq()
411 scratch_gamma_args.a0 = dc_fixpt_zero; in calculate_gamma22()
412 scratch_gamma_args.a1 = dc_fixpt_zero; in calculate_gamma22()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Dcustom_float.c47 dc_fixpt_zero)) { in build_custom_float()
56 dc_fixpt_zero)) { in build_custom_float()
107 dc_fixpt_zero) || in build_custom_float()
111 mantiss = dc_fixpt_zero; in build_custom_float()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_cm_common.c427 corner_points[1].red.slope = dc_fixpt_zero; in cm_helper_translate_curve_to_hw_format()
428 corner_points[1].green.slope = dc_fixpt_zero; in cm_helper_translate_curve_to_hw_format()
429 corner_points[1].blue.slope = dc_fixpt_zero; in cm_helper_translate_curve_to_hw_format()
594 corner_points[1].red.slope = dc_fixpt_zero; in cm_helper_translate_curve_to_degamma_hw_format()
595 corner_points[1].green.slope = dc_fixpt_zero; in cm_helper_translate_curve_to_degamma_hw_format()
596 corner_points[1].blue.slope = dc_fixpt_zero; in cm_helper_translate_curve_to_degamma_hw_format()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_cm_common.c226 corner_points[1].red.slope = dc_fixpt_zero; in cm3_helper_translate_curve_to_hw_format()
227 corner_points[1].green.slope = dc_fixpt_zero; in cm3_helper_translate_curve_to_hw_format()
228 corner_points[1].blue.slope = dc_fixpt_zero; in cm3_helper_translate_curve_to_hw_format()
390 corner_points[1].red.slope = dc_fixpt_zero; in cm3_helper_translate_curve_to_degamma_hw_format()
391 corner_points[1].green.slope = dc_fixpt_zero; in cm3_helper_translate_curve_to_degamma_hw_format()
392 corner_points[1].blue.slope = dc_fixpt_zero; in cm3_helper_translate_curve_to_degamma_hw_format()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/basics/
Dconversion.c70 arg, dc_fixpt_zero)) in fixed_point_to_int_frac()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h67 static const struct fixed31_32 dc_fixpt_zero = { 0 }; variable
435 return arg2.value == 0 ? dc_fixpt_one : dc_fixpt_zero; in dc_fixpt_pow()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_color.c178 matrix[i] = dc_fixpt_zero; in __drm_ctm_to_dc_matrix()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c759 data->inits.h_c = (data->viewport.x % vpc_div) != 0 ? dc_fixpt_half : dc_fixpt_zero; in calculate_viewport()
760 data->inits.v_c = (data->viewport.y % vpc_div) != 0 ? dc_fixpt_half : dc_fixpt_zero; in calculate_viewport()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c548 arr_points[1].slope = dc_fixpt_zero; in dce110_translate_regamma_to_hw_format()