summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAntonino Daplas <adaplas@hotpop.com>2004-07-06 09:18:40 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-06 09:18:40 -0700
commit253c89da4099da6f006451d9bf46a0c68dff64b1 (patch)
tree4d74c0282ddd175a43bbab81deab87b3e72a8ca9 /include/linux
parent9baeca57770ee7fa2cdcc847847cc6f02e3baf62 (diff)
[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 <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fb.h1
1 files changed, 1 insertions, 0 deletions
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;