android_kernel_xiaomi_sm8350/drivers/video/console
Antonino A. Daplas 6d36ba629e [PATCH] vgacon: Fix sanity checking in vgacon_resize
Reported by: walt <wa1ter@myrealbox.com>

"I routinely switch the console font during bootup to
8x8 so I can get 50 lines per screen.  Until 09 Sept,
just changing to the small font automatically gave me
all 50 lines -- but now I'm only getting 25 lines even
with the small font.  The bottom half of the screen
displays the text that already scrolled off the top."

This bug is due to an erroneous check in the recently added hook,
vgacon_resize(). It checks the new height against the original number of
rows of the console. Because the original number of rows depends on both
the scanline and the font height, check it instead against the
scanline/fontheight.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-15 08:24:09 -07:00
..
bitblit.c [PATCH] fbcon: Break up bit_putcs into its component functions 2005-09-09 14:03:41 -07:00
dummycon.c
fbcon.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
fbcon.h [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07: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 [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
Kconfig [PATCH] USB: sisusb[vga] update 2005-09-12 12:23:38 -07:00
Makefile [PATCH] USB: sisusb[vga] update 2005-09-12 12:23:38 -07:00
mdacon.c
newport_con.c
prom.uni
promcon.c
sticon.c
sticore.c
tileblit.c
vgacon.c [PATCH] vgacon: Fix sanity checking in vgacon_resize 2005-09-15 08:24:09 -07:00