From 253c89da4099da6f006451d9bf46a0c68dff64b1 Mon Sep 17 00:00:00 2001 From: Antonino Daplas Date: Tue, 6 Jul 2004 09:18:40 -0700 Subject: [PATCH] fbcon mode switching fix Ugly workaround. When switching from KD_GRAPHICS to KD_TEXT, the event is captured at fbcon_blank() allowing fbcon to reinitialize the hardware. However, some hardware requires the reinitialization to be done immediately, others require it to be done later. Others may need it to be done immediately and later, this is the worst case. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/fb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/linux/fb.h b/include/linux/fb.h index fc695bb87bd6..afcdc664ddc4 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -533,6 +533,7 @@ struct fb_ops { #define FBINFO_MISC_MODECHANGEUSER 0x10000 /* mode change request from userspace */ #define FBINFO_MISC_MODESWITCH 0x20000 /* mode switch */ +#define FBINFO_MISC_MODESWITCHLATE 0x40000 /* init hardware later */ struct fb_info { int node; -- cgit v1.2.3