Skip to content

Commit b945922

Browse files
tdzardbiesheuvel
authored andcommitted
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>
1 parent 54bdafd commit b945922

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

include/linux/sysfb.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*/
99

1010
#include <linux/err.h>
11+
#include <linux/screen_info.h>
1112
#include <linux/types.h>
1213

1314
#include <linux/platform_data/simplefb.h>
@@ -60,6 +61,10 @@ struct efifb_dmi_info {
6061
int flags;
6162
};
6263

64+
struct sysfb_display_info {
65+
struct screen_info screen;
66+
};
67+
6368
#ifdef CONFIG_SYSFB
6469

6570
void sysfb_disable(struct device *dev);

0 commit comments

Comments
 (0)