summaryrefslogtreecommitdiff
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-07-14 17:13:02 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2025-08-26 09:54:16 +0200
commitd6d05e2af796ca25094f80a73d8841505d54368b (patch)
tree62c6032c52a53ee48f24cb13a52798c14e228065 /rust/helpers/vmalloc.c
parentcff5fb82733c4f1acda458ffd2bb5c948fb59bd6 (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/vmalloc.c')
0 files changed, 0 insertions, 0 deletions