aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2025-07-14 17:13:03 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2025-08-26 09:54:17 +0200
commit31eea29d727ce35b747e68c6be350ca07b7ecd9b (patch)
tree4715bd99a4def1c6f09b4696a8b0eec6ba104864 /include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com
parentvideo: screen_info: Add pixel-format helper for linear framebuffers (diff)
drm/sysfb: Find screen_info format with helpers
Convert drm_sysfb_get_format_si() to lookup the screen_info color format as struct pixel_format with screen_info_pixel_format(). Then search the list of given formats for the screen_info format with pixel_format_equal(). Replaces custom code with helpers. The pixel-compare helper pixel_format_equal() also handles indexed color formats. Prepares for sysfb drivers to support color palettes. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://lore.kernel.org/r/20250714151513.309475-4-tzimmermann@suse.de
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git:/git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions