[PATCH 3/5] drm/st7571-i2c: add support inverted pixel format
Javier Martinez Canillas
javierm at redhat.com
Mon Jul 14 10:51:53 UTC 2025
Marcus Folkesson <marcus.folkesson at gmail.com> writes:
> Depending on which display that is connected to the controller, an
> "1" means either a black or a white pixel.
>
> The supported formats (R1/R2/XRGB8888) expects the pixels
> to map against (4bit):
> 00 => Black
> 01 => Dark Gray
> 10 => Light Gray
> 11 => White
>
> If this is not what the display map against, make it possible to invert
> the pixels.
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson at gmail.com>
> ---
Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the dri-devel
mailing list