Home
last modified time | relevance | path

Searched refs:bit_precision (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/include/drm/
Ddrm_color_mgmt.h41 static inline u32 drm_color_lut_extract(u32 user_input, int bit_precision) in drm_color_lut_extract() argument
44 u32 max = 0xffff >> (16 - bit_precision); in drm_color_lut_extract()
47 if (bit_precision < 16) { in drm_color_lut_extract()
48 val += 1UL << (16 - bit_precision - 1); in drm_color_lut_extract()
49 val >>= 16 - bit_precision; in drm_color_lut_extract()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_color.h24 u32 gamma_mode, u32 bit_precision);
Dintel_color.c415 static u32 intel_color_lut_pack(u32 val, int bit_precision) in intel_color_lut_pack() argument
417 u32 max = 0xffff >> (16 - bit_precision); in intel_color_lut_pack()
421 if (bit_precision < 16) in intel_color_lut_pack()
422 val <<= 16 - bit_precision; in intel_color_lut_pack()
1795 u32 gamma_mode, u32 bit_precision) in intel_color_lut_equal() argument
1817 err = 0xffff >> bit_precision; in intel_color_lut_equal()
Dintel_display.c5709 #define PIPE_CONF_CHECK_COLOR_LUT(name1, name2, bit_precision) do { \ in intel_pipe_config_compare() argument
5719 bit_precision)) { \ in intel_pipe_config_compare()