android_kernel_xiaomi_sm8350/drivers/video
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
..
aty [PATCH] ppc32: Fix AGP and sleep again 2005-04-16 15:24:19 -07:00
backlight [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
console [PATCH] vgacon: set vc_hi_font_mask correctly 2005-05-01 08:59:07 -07:00
geode Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
intelfb Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kyro Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
logo [SPARC]: Enable sun logo on sparc32 2005-04-24 20:42:45 -07:00
matrox Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nvidia Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
riva Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
savage [PATCH] savagefb iomem annotations 2005-04-26 07:43:41 -07:00
sis Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
68328fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acornfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amba-clcd.c [PATCH] ARM: IntegratorCP: 16bpp is RGB565 not RGB555 2005-04-30 23:28:47 +01:00
amifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asiliantfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1100fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt431.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt455.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw2.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c2p.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbcopyarea.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbfillrect.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cfbimgblt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg3.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cg14.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
chipsfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cirrusfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
clps711xfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
controlfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyber2000fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyber2000fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyberfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dnfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
edid.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
epson1355fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcmap.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbmem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbmon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbsysfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ffb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fm2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
g364fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gbefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hgafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hitfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
igafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
imsttfb.c [PATCH] imsttfb missing iomem annotations 2005-04-26 07:43:42 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
leo.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macmodes.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macmodes.h 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
maxinefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
modedb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
neofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
offb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
p9100.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platinumfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
platinumfb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmag-aa-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmag-ba-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pmagb-b-fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pvr2fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pxafb.c [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
pxafb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
q40fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
radeonfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
retz3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
retz3fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s1d13xxxfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
S3triofb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sa1100fb.c [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
sa1100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbuslib.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sgivwfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
skeletonfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
softcursor.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sstfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stifb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sun3fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tcx.c [SPARC]: TCX Framebuffer fixes 2005-04-24 20:39:15 -07:00
tdfxfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tgafb.c [PATCH] Fix tgafb.c compile failure 2005-04-21 14:09:42 -07:00
tridentfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tx3912fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
valkyriefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vesafb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vfb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vga16fb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vgastate.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
virgefb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
virgefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w100fb.c [PATCH] fix u32 vs. pm_message_t in driver/video 2005-04-16 15:25:36 -07:00
w100fb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00