android_kernel_google_msm/include
Dave Airlie df28f48902 vgacon/vt: clear buffer attributes when we load a 512 character font (v2)
commit 2a24830723 upstream.

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.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-28 06:59:03 -08:00
..
acpi
asm-generic mm: limit mmu_gather batching to fix soft lockups on !CONFIG_PREEMPT 2013-01-11 09:07:18 -08:00
crypto
drm drm/radeon: add new SI pci id 2012-12-03 11:47:01 -08:00
keys
linux vgacon/vt: clear buffer attributes when we load a 512 character font (v2) 2013-02-28 06:59:03 -08:00
math-emu
media
misc
mtd
net tcp: implement RFC 5961 3.2 2013-01-11 09:07:14 -08:00
pcmcia
rdma
rxrpc
scsi
sound
target target: Add link_magic for fabric allow_link destination target_items 2013-01-21 11:45:24 -08:00
trace
video
xen
Kbuild