diff options
author | Bill Nottingham <notting@redhat.com> | 2005-05-01 08:59:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 08:59:07 -0700 |
commit | a40920b42ae232fac514cc4a1eb92996114af340 (patch) | |
tree | 07209affc6f1a02c79d07c8aece7d510a2541049 /drivers/video/retz3fb.c | |
parent | 127144df4ce817ad648af15a3983c8d52aacf670 (diff) | |
download | op-kernel-dev-a40920b42ae232fac514cc4a1eb92996114af340.zip op-kernel-dev-a40920b42ae232fac514cc4a1eb92996114af340.tar.gz |
[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>
Diffstat (limited to 'drivers/video/retz3fb.c')
0 files changed, 0 insertions, 0 deletions