summaryrefslogtreecommitdiff
path: root/drivers/video/console/fbcon.h
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2005-09-10 00:10:00 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-10 01:03:40 +0400
commit88fb2c6efba8d9e941e9fb61f37dbeafc869fd75 (patch)
treec8b99ee91b35968d4482cd2f5b2bde3b9a46e19f /drivers/video/console/fbcon.h
parentc52890cc366429798b3c97266d0a377810e08400 (diff)
downloadlinux-88fb2c6efba8d9e941e9fb61f37dbeafc869fd75.tar.xz
[PATCH] fbcon: Stop cursor timer if console is inactive
If console is blanked or in KD_GRAPHICS mode, delete cursor timer. No sense flashing the cursor when there's nothing to be seen. 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 'drivers/video/console/fbcon.h')
-rw-r--r--drivers/video/console/fbcon.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.h b/drivers/video/console/fbcon.h
index 5d377860bce2..08befafe11d1 100644
--- a/drivers/video/console/fbcon.h
+++ b/drivers/video/console/fbcon.h
@@ -18,7 +18,8 @@
#include <asm/io.h>
-#define FBCON_FLAGS_INIT 1
+#define FBCON_FLAGS_INIT 1
+#define FBCON_FLAGS_CURSOR_TIMER 2
/*
* This is the interface between the low-level console driver and the