Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sysfb: Add struct sysfb_display_info

Add struct sysfb_display_info to wrap display-related state. For now
it contains only the screen's video mode. Later EDID will be added as
well.

This struct will be helpful for passing display state to sysfb drivers
or from the EFI stub library.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Richard Lyu <richard.lyu@suse.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>

authored by

Thomas Zimmermann and committed by
Ard Biesheuvel
b9459226 54bdafd7

+5
+5
include/linux/sysfb.h
··· 8 8 */ 9 9 10 10 #include <linux/err.h> 11 + #include <linux/screen_info.h> 11 12 #include <linux/types.h> 12 13 13 14 #include <linux/platform_data/simplefb.h> ··· 59 58 int width; 60 59 int height; 61 60 int flags; 61 + }; 62 + 63 + struct sysfb_display_info { 64 + struct screen_info screen; 62 65 }; 63 66 64 67 #ifdef CONFIG_SYSFB