--- linuxkpi/gplv2/include/linux/fb.h.orig 2022-05-31 08:17:34 UTC +++ linuxkpi/gplv2/include/linux/fb.h @@ -47,6 +47,11 @@ struct linux_fb_info { struct fb_var_screeninfo var; /* Current var */ struct fb_fix_screeninfo fix; /* Current fix */ + /* + * -1 by default, set to a FB_ROTATE_* value by the driver, if it knows + * a lcd is not mounted upright and fbcon should rotate to compensate. + */ + int fbcon_rotate_hint; const struct fb_ops *fbops; struct device *device; /* This is the parent */ struct device *dev; /* This is this fb device */