diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-07-14 17:13:02 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-08-26 09:54:16 +0200 |
commit | d6d05e2af796ca25094f80a73d8841505d54368b (patch) | |
tree | 62c6032c52a53ee48f24cb13a52798c14e228065 /rust/helpers/build_bug.c | |
parent | cff5fb82733c4f1acda458ffd2bb5c948fb59bd6 (diff) |
video: screen_info: Add pixel-format helper for linear framebuffers
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@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250714151513.309475-3-tzimmermann@suse.de
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions