kernel_optimize_test/drivers/video/console
Antonino A. Daplas 5ef897c71a [PATCH] vgacon: Fix usage of stale height value on vc initialization
Reported by: Wayne E. Harlan

"[1.] One line summary of the problem:
When the kernel option "vga=1" is used, additional tty's (alt+control+Fx
with x=2,3,4,5, etc) do not provide the full 50 lines of output.  The first
one does have 50 lines, however.

[2.] Full description of the problem/report:
These addtitional tty's show only 39 lines plus the top pixel of the 40-th
line.  The remaining lines are black and not shown.  Kernel version
2.6.13.4 does not show this problem."

This bug is caused by using a stale font height value on vgacon_init.

Booting with vga=1 gives an 80x50 screen with an 8x8 font.  Somewhere
during the initialization, the font was changed to 8x9 and the first
vc was correctly resized to 80x44.  However, the rest of the vc's were
not allocated yet, and when they were subsequently initialized, they
still used a font height of 8 (instead of 9) causing the mentioned bug.

Fix by saving the new font height to vga_video_font_height.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-22 09:13:43 -08:00
..
bitblit.c [PATCH] fbcon: Console Rotation - Prepare fbcon for console rotation 2005-11-09 07:56:34 -08:00
dummycon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcon_ccw.c [PATCH] fbdev: fix module dependency loop 2005-11-13 18:14:10 -08:00
fbcon_cw.c [PATCH] fbdev: fix module dependency loop 2005-11-13 18:14:10 -08:00
fbcon_rotate.c [PATCH] fbcon: Console Rotation - Add support for 270-degree rotation 2005-11-09 07:56:34 -08:00
fbcon_rotate.h [PATCH] fbcon: Console Rotation - Fix wrong shift calculation 2005-11-22 09:13:43 -08:00
fbcon_ud.c [PATCH] fbdev: fix module dependency loop 2005-11-13 18:14:10 -08:00
fbcon.c [PATCH] fbdev: fix module dependency loop 2005-11-13 18:14:10 -08:00
fbcon.h [PATCH] fbdev: fix module dependency loop 2005-11-13 18:14:10 -08:00
font_6x11.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_7x14.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_10x18.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_acorn_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_mini_4x6.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_pearl_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun12x22.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
fonts.c Revert "[PATCH] fbcon: Add rl (Roman Large) font" 2005-11-12 10:14:02 -08:00
Kconfig Revert "[PATCH] fbcon: Add rl (Roman Large) font" 2005-11-12 10:14:02 -08:00
Makefile Revert "[PATCH] fbcon: Add rl (Roman Large) font" 2005-11-12 10:14:02 -08:00
mdacon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
newport_con.c Fix build error caused by missmatching duplicate declaration. 2005-10-29 19:32:31 +01: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
softcursor.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
sticon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.c [PARISC] Reorganize sticore probe routine to be a little less convoluted 2005-10-21 22:41:49 -04:00
tileblit.c [PATCH] fbcon: Console Rotation - Prepare fbcon for console rotation 2005-11-09 07:56:34 -08:00
vgacon.c [PATCH] vgacon: Fix usage of stale height value on vc initialization 2005-11-22 09:13:43 -08:00