Searched refs:intel_color_lut_pack (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_color.c | 787 static u32 intel_color_lut_pack(u32 val, int bit_precision) in intel_color_lut_pack() function 806 entry->red = intel_color_lut_pack(REG_FIELD_GET(PALETTE_RED_MASK, val), 8); in i9xx_lut_8_pack() 807 entry->green = intel_color_lut_pack(REG_FIELD_GET(PALETTE_GREEN_MASK, val), 8); in i9xx_lut_8_pack() 808 entry->blue = intel_color_lut_pack(REG_FIELD_GET(PALETTE_BLUE_MASK, val), 8); in i9xx_lut_8_pack() 862 color->red = intel_color_lut_pack(red, 10); in i9xx_lut_10_pack() 863 color->green = intel_color_lut_pack(green, 10); in i9xx_lut_10_pack() 864 color->blue = intel_color_lut_pack(blue, 10); in i9xx_lut_10_pack() 925 entry->red = intel_color_lut_pack(REG_FIELD_GET(PREC_PALETTE_10_RED_MASK, val), 10); in ilk_lut_10_pack() 926 entry->green = intel_color_lut_pack(REG_FIELD_GET(PREC_PALETTE_10_GREEN_MASK, val), 10); in ilk_lut_10_pack() 927 entry->blue = intel_color_lut_pack(REG_FIELD_GET(PREC_PALETTE_10_BLUE_MASK, val), 10); in ilk_lut_10_pack() [all …]
|