Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c865 struct fixed31_32 max_content, in hermite_spline_eetf() argument
886 if (dc_fixpt_eq(max_content, dc_fixpt_zero)) { in hermite_spline_eetf()
892 compute_pq(dc_fixpt_div(min_display, max_content), &min_lum_pq); in hermite_spline_eetf()
893 compute_pq(dc_fixpt_div(max_display, max_content), &max_lum_pq); in hermite_spline_eetf()
958 struct fixed31_32 max_content; in build_freesync_hdr() local
968 if (fs_params->max_content == 0 || in build_freesync_hdr()
974 max_content = dc_fixpt_from_int(fs_params->max_content); in build_freesync_hdr()
983 if (fs_params->max_content > fs_params->max_display) in build_freesync_hdr()
986 max_content = max_display; in build_freesync_hdr()
998 dc_fixpt_div(max_content, sdr_white_level)); in build_freesync_hdr()
[all …]
H A Dcolor_gamma.h82 unsigned int max_content; // luminance in nits member