]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firmware: sysfb: Add a sysfb_handles_screen_info() helper function
authorJavier Martinez Canillas <javierm@redhat.com>
Mon, 16 Sep 2024 11:00:25 +0000 (13:00 +0200)
committerTzung-Bi Shih <tzungbi@kernel.org>
Mon, 30 Sep 2024 01:40:51 +0000 (01:40 +0000)
commit6074e905023d09f64f2c896f475820a5623deb2c
tree6056fdf39ece7d3e660a69c90e443317356c63f1
parent9852d85ec9d492ebef56dc5f229416c925758edc
firmware: sysfb: Add a sysfb_handles_screen_info() helper function

That can be used by drivers to check if the Generic System Framebuffers
(sysfb) support can handle the data contained in the global screen_info.

Drivers might need this information to know if have to setup the system
framebuffer, or if they have to delegate this action to sysfb instead.

Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20240916110040.1688511-2-javierm@redhat.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
drivers/firmware/sysfb.c
include/linux/sysfb.h