[PATCH 4/9] drm/sysfb: Blit to CRTC destination format

Javier Martinez Canillas javierm at redhat.com
Fri Jul 11 12:10:08 UTC 2025


Thomas Zimmermann <tzimmermann at suse.de> writes:

> Use the color format stored in struct drm_sysfb_crtc_state for
> color-format conversion instead of the scanout-buffer format
> announced by firmware. Currently, both values are identical.
>
> This will allow drivers to modify the CRTC's output format to a
> certain extend. Specifically, vesadrm will be able to display RGB
> framebuffers when the scanout buffer is of C8 format. With color-
> format conversion to RGB332 and correct setup of the C8 palette,
> output of XRGB8888-based buffers can be achieved.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---

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