summaryrefslogtreecommitdiffstats
path: root/drivers/video/console/fbcon.h
diff options
context:
space:
mode:
authorScot Doyle <lkml14@scotdoyle.com>2015-03-26 14:56:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-10 19:15:52 +0200
commit27a4c827c34ac4256a190cc9d24607f953c1c459 (patch)
treee69c1db12e9a59d903e4be2f215e0fd90134bedb /drivers/video/console/fbcon.h
parentvt: add cursor blink interval escape sequence (diff)
downloadlinux-27a4c827c34ac4256a190cc9d24607f953c1c459.tar.xz
linux-27a4c827c34ac4256a190cc9d24607f953c1c459.zip
fbcon: use the cursor blink interval provided by vt
vt now provides a cursor blink interval via vc_data. Use this interval instead of the currently hardcoded 200 msecs. Store it in fbcon_ops to avoid locking the console in cursor_timer_handler(). Signed-off-by: Scot Doyle <lkml14@scotdoyle.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/console/fbcon.h')
-rw-r--r--drivers/video/console/fbcon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/console/fbcon.h b/drivers/video/console/fbcon.h
index 6bd2e0c7f209..7aaa4eabbba0 100644
--- a/drivers/video/console/fbcon.h
+++ b/drivers/video/console/fbcon.h
@@ -70,6 +70,7 @@ struct fbcon_ops {
struct fb_cursor cursor_state;
struct display *p;
int currcon; /* Current VC. */
+ int cur_blink_jiffies;
int cursor_flash;
int cursor_reset;
int blank_state;