kernel-ark/drivers/video/console
Antonino Daplas 4d8a2d986d fbcon: delay the start of the cursor timer until a con_switch()
As reported in Bugzilla Bug 9093, upon switching to X, a small rectangular
cursor can still be seen blinking in the upper left part of the screen.  It is
fbcon's text cursor.  This is caused by a strange ioctl(..., KDSETMODE,
KD_TEXT) call done by something in userspace, perhaps by X itself, while the
tty is still in graphics mode.  And when the tty is in KD_TEXT mode, the
cursor timer is restarted.

Although this is a userspace problem, we can work around it by delaying the
restart of the cursor timer until an fbcon_switch() is called.  In other
words, the cursor timer will not be restarted even if a KD_TEXT mode switch is
requested.

Regression potential: Present but low

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:43:23 -07:00
..
bitblit.c
dummycon.c
fbcon_ccw.c
fbcon_cw.c
fbcon_rotate.c
fbcon_rotate.h
fbcon_ud.c
fbcon.c fbcon: delay the start of the cursor timer until a con_switch() 2007-10-16 09:43:23 -07:00
fbcon.h
font_6x11.c
font_7x14.c
font_8x8.c
font_8x16.c export font_vga_8x16 2007-10-16 09:43:19 -07:00
font_10x18.c
font_acorn_8x8.c
font_mini_4x6.c
font_pearl_8x8.c
font_sun8x16.c
font_sun12x22.c
fonts.c
Kconfig
Makefile
mdacon.c
newport_con.c fbcon: logo: disable logo at boot 2007-10-16 09:43:20 -07:00
prom.uni
promcon.c
softcursor.c
sticon.c
sticore.c
tileblit.c
vgacon.c vt/vgacon: Check if screen resize request comes from userspace 2007-10-16 09:43:20 -07:00