Home
last modified time | relevance | path

Searched refs:max_content (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c866 struct fixed31_32 max_content, in hermite_spline_eetf() argument
887 if (dc_fixpt_eq(max_content, dc_fixpt_zero)) { in hermite_spline_eetf()
893 compute_pq(dc_fixpt_div(min_display, max_content), &min_lum_pq); in hermite_spline_eetf()
894 compute_pq(dc_fixpt_div(max_display, max_content), &max_lum_pq); in hermite_spline_eetf()
942 *out_x = dc_fixpt_div(*out_x, dc_fixpt_div(max_display, max_content)); in hermite_spline_eetf()
959 struct fixed31_32 max_content; in build_freesync_hdr() local
969 if (fs_params->max_content == 0 || in build_freesync_hdr()
975 max_content = dc_fixpt_from_int(fs_params->max_content); in build_freesync_hdr()
984 if (fs_params->max_content > fs_params->max_display) in build_freesync_hdr()
987 max_content = max_display; in build_freesync_hdr()
[all …]
Dcolor_gamma.h82 unsigned int max_content; // luminance in nits member