mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
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>
This commit is contained in:
parent
54bdafd778
commit
b945922619
|
|
@ -8,6 +8,7 @@
|
|||
*/
|
||||
|
||||
#include <linux/err.h>
|
||||
#include <linux/screen_info.h>
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <linux/platform_data/simplefb.h>
|
||||
|
|
@ -60,6 +61,10 @@ struct efifb_dmi_info {
|
|||
int flags;
|
||||
};
|
||||
|
||||
struct sysfb_display_info {
|
||||
struct screen_info screen;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_SYSFB
|
||||
|
||||
void sysfb_disable(struct device *dev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user