linux/drivers/tty
Dave Airlie 2a24830723 vgacon/vt: clear buffer attributes when we load a 512 character font (v2)
When we switch from 256->512 byte font rendering mode, it means the
current contents of the screen is being reinterpreted. The bit that holds
the high bit of the 9-bit font, may have been previously set, and thus
the new font misrenders.

The problem case we see is grub2 writes spaces with the bit set, so it
ends up with data like 0x820, which gets reinterpreted into 0x120 char
which the font translates into G with a circumflex. This flashes up on
screen at boot and is quite ugly.

A current side effect of this patch though is that any rendering on the
screen changes color to a slightly darker color, but at least the screen
no longer corrupts.

v2: as suggested by hpa, always clear the attribute space, whether we
are are going to or from 512 chars.

Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-02-07 12:37:03 +10:00
..
hvc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-12-13 12:00:02 -08:00
ipwireless Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-12-13 12:00:02 -08:00
serial 8250/16?50: Add support for Broadcom TruManage redirected serial port 2013-01-17 14:02:55 -08:00
vt vgacon/vt: clear buffer attributes when we load a 512 character font (v2) 2013-02-07 12:37:03 +10:00
amiserial.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
bfin_jtag_comm.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
cyclades.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
ehv_bytechan.c tty: remove use of __devinit 2012-11-21 15:22:52 -08:00
isicom.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
Kconfig Merge branch 'for-upstream' of http://github.com/agraf/linux-2.6 into queue 2012-10-10 19:03:54 -03:00
Makefile tty/powerpc: introduce the ePAPR embedded hypervisor byte channel driver 2011-08-23 10:32:56 -07:00
moxa.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
moxa.h tty: move a number of tty drivers from drivers/char/ to drivers/tty/ 2011-02-22 16:14:56 -08:00
mxser.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
mxser.h Fix common misspellings 2011-03-31 11:26:23 -03:00
n_gsm.c TTY: n_gsm, use kref from tty_port 2012-11-15 17:20:57 -08:00
n_hdlc.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
n_r3964.c tty: localise the lock 2012-08-10 12:55:47 -07:00
n_tracerouter.c n_tracerouter and n_tracesink ldisc additions. 2011-05-13 16:31:00 -07:00
n_tracesink.c n_tracerouter and n_tracesink ldisc additions. 2011-05-13 16:31:00 -07:00
n_tracesink.h n_tracerouter and n_tracesink ldisc additions. 2011-05-13 16:31:00 -07:00
n_tty.c tty: add missing newlines to WARN_RATELIMIT 2012-10-25 11:30:27 -07:00
nozomi.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
pty.c pty: return EINVAL for TIOCGPTN for BSD ptys 2013-01-17 13:56:57 -08:00
rocket_int.h tty: move a number of tty drivers from drivers/char/ to drivers/tty/ 2011-02-22 16:14:56 -08:00
rocket.c tty: remove use of __devinitdata 2012-11-21 15:25:06 -08:00
rocket.h tty: move a number of tty drivers from drivers/char/ to drivers/tty/ 2011-02-22 16:14:56 -08:00
synclink_gt.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
synclink.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
synclinkmp.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
sysrq.c mm, oom: ensure sysrq+f always passes valid zonelist 2012-11-15 17:13:48 -08:00
tty_audit.c TTY: audit, stop accessing tty->icount 2012-10-22 16:50:54 -07:00
tty_buffer.c tty: add missing newlines to WARN_RATELIMIT 2012-10-25 11:30:27 -07:00
tty_io.c tty: Mark tty_del_file and __tty_hangup static 2012-11-21 15:19:52 -08:00
tty_ioctl.c tty: pty - Move TIOCPKT handling into pty.c 2012-10-25 12:07:18 -07:00
tty_ldisc.c tty: Use raw spin lock to protect TTY ldisc administration 2012-10-24 11:37:02 -07:00
tty_mutex.c tty: tty_mutex.c: Fixed coding style warning (using printk) 2012-10-24 11:34:51 -07:00
tty_port.c TTY: introduce tty_port_destroy 2012-11-15 17:20:58 -08:00