On 3/7/22 21:52, Geert Uytterhoeven wrote:
Introduce fourcc codes for color-indexed frame buffer formats with two, four, and sixteen colors, and provide a mapping from bit per pixel and depth to fourcc codes.
As the number of bits per pixel is less than eight, these rely on proper block handling for the calculation of bits per pixel and pitch.
Signed-off-by: Geert Uytterhoeven geert@linux-m68k.org
Reviewed-by: Javier Martinez Canillas javierm@redhat.com