[PATCH 2/9] video: screen_info: Add pixel-format helper for linear framebuffers

Javier Martinez Canillas javierm at redhat.com
Fri Jul 11 11:58:40 UTC 2025


Thomas Zimmermann <tzimmermann at suse.de> writes:

> Add screen_info_pixel_format(), which converts a screen_info's
> information about the color format to struct pixel_format. The encoding
> within the screen_info structure is complex and therefore prone to
> errors. Later patches will convert callers to use the pixel format.
>
> 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