kernel_optimize_test/drivers/video/console
Bill Nottingham a40920b42a [PATCH] vgacon: set vc_hi_font_mask correctly
When allocating a new VC with vgacon_init(), the font is shared across all
the VGA consoles.  However, the font mask was always set to the default
value of zero in visual_init(), even if we were using 512 character fonts
at the time.

Moreover, code in vgacon.c:vga_do_font_op() didn't reset the mask if the
console driver thinks it's already in 512 character mode.  This means that
to *fix* it, you'd actually have to take the console out of 512 character
mode and then set it back.

The attached sets vc_hi_font_mask in vgacon_init() for any new consoles
opened if the vgacon driver is already in 512 character mode, solving this.

This bug goes back to 2.4.18 at least, probably earlier.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-01 08:59:07 -07:00
..
bitblit.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dummycon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcon.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
font_6x11.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
font_8x8.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
font_8x16.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
font_acorn_8x8.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
font_mini_4x6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
font_pearl_8x8.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
font_sun8x16.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
font_sun12x22.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fonts.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mdacon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
newport_con.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
prom.uni Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
promcon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tileblit.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vgacon.c [PATCH] vgacon: set vc_hi_font_mask correctly 2005-05-01 08:59:07 -07:00