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

2025-07-11 Thread Javier Martinez Canillas
Thomas Zimmermann 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 f

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

2025-06-17 Thread Thomas Zimmermann
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 Zimmer