mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 20:21:57 +00:00
2a24830723
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> |
||
---|---|---|
.. | ||
bitblit.c | ||
dummycon.c | ||
fbcon_ccw.c | ||
fbcon_cw.c | ||
fbcon_rotate.c | ||
fbcon_rotate.h | ||
fbcon_ud.c | ||
fbcon.c | ||
fbcon.h | ||
font_6x11.c | ||
font_7x14.c | ||
font_8x8.c | ||
font_8x16.c | ||
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 | ||
softcursor.c | ||
sticon.c | ||
sticore.c | ||
tileblit.c | ||
vgacon.c |