Home
last modified time | relevance | path

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

/linux/include/drm/
A 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/drivers/gpu/drm/i915/display/
A Dintel_color.h23 u32 gamma_mode, u32 bit_precision);
A Dintel_color.c393 static u32 intel_color_lut_pack(u32 val, int bit_precision) in intel_color_lut_pack() argument
395 u32 max = 0xffff >> (16 - bit_precision); in intel_color_lut_pack()
399 if (bit_precision < 16) in intel_color_lut_pack()
400 val <<= 16 - bit_precision; in intel_color_lut_pack()
1749 u32 gamma_mode, u32 bit_precision) in intel_color_lut_equal() argument
1771 err = 0xffff >> bit_precision; in intel_color_lut_equal()
A Dintel_display.c7572 #define PIPE_CONF_CHECK_COLOR_LUT(name1, name2, bit_precision) do { \ in intel_pipe_config_compare() argument
7582 bit_precision)) { \ in intel_pipe_config_compare()

Completed in 27 milliseconds