kernel-ark/drivers/video
Samuel Thibault 0aec4867dc [PATCH] SVGATextMode fix
Fix bug 5441.

I didn't know about messy programs like svgatextmode...  Couldn't this be
integrated in some linux/drivers/video/console/svgacon.c ?...  So because
of the existence of the svgatextmode program, the kernel is not supposed to
touch to CRT_OVERFLOW/SYNC_END/DISP/DISP_END/OFFSET ?

Disabling the check in vgacon_resize() might help indeed, but I'm really
not sure whether it will work for any chipset: in my patch, CRT registers
are set at each console switch, since stty rows/cols apply to consoles
separately...

The attached solution is to keep the test, but if it fails, we assume that
the caller knows what it does (i.e.  it is svgatextmode) and then disable
any further call to vgacon_doresize.  Svgatextmode is usually used to
_expand_ the display, not to shrink it.  And it is harmless in the case of
a too big stty rows/cols: the display will just be cropped.  I tested it on
my laptop, and it works fine with svgatextmode.

A better solution would be that svgatextmode explicitely tells the kernel
not to care about video timing, but for this an interface needs be defined
and svgatextmode be patched.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-17 08:59:10 -07:00
..
aty [PATCH] pmac/radeonfb: Add suspend support for M11 chip in new iBook 12" 2005-10-01 17:01:48 -07:00
backlight [ARM] Don't include mach-types.h unnecessarily 2005-09-29 11:15:51 +01:00
console [PATCH] SVGATextMode fix 2005-10-17 08:59:10 -07:00
geode
i810 [PATCH] i810-i2c iomem annotations 2005-09-29 08:46:27 -07:00
intelfb [PATCH] intelfb: Fix regression (blank display) from ioremap patch 2005-09-29 08:54:20 -07:00
kyro
logo
matrox [PATCH] matroxfb adjustments 2005-09-13 08:22:32 -07:00
nvidia [PATCH] nvidiafb: Fix absence of cursor in nvidiafb 2005-09-20 17:36:38 -07:00
riva
savage [PATCH] savagefb: Fix load failure of the Twister chipset 2005-09-15 08:24:09 -07:00
sis
68328fb.c
acornfb.c
acornfb.h
amba-clcd.c
amifb.c
arcfb.c
asiliantfb.c
atafb.c
au1100fb.c
au1100fb.h
bt431.h
bt455.h
bw2.c
c2p.c
c2p.h
cfbcopyarea.c
cfbfillrect.c
cfbimgblt.c
cg3.c
cg6.c
cg14.c
chipsfb.c
cirrusfb.c
clps711xfb.c
controlfb.c
controlfb.h
cyber2000fb.c
cyber2000fb.h
cyberfb.c
cyberfb.h
cyblafb.c [PATCH] cyblafb: portability fixes, sanitized work with pointers 2005-09-29 08:46:26 -07:00
dnfb.c
edid.h
epson1355fb.c
fbcmap.c
fbcvt.c [PATCH] fbdev: Fix reversed back and front porches 2005-09-20 17:36:38 -07:00
fbmem.c
fbmon.c
fbsysfs.c
ffb.c
fm2fb.c
g364fb.c
gbefb.c
hgafb.c
hitfb.c
hpfb.c
igafb.c
imsttfb.c
imxfb.c [ARM] Don't include mach-types.h unnecessarily 2005-09-29 11:15:51 +01:00
imxfb.h
Kconfig [PATCH] intelfb: Fix regression (blank display) from ioremap patch 2005-09-29 08:54:20 -07:00
leo.c
macfb.c
macmodes.c
macmodes.h
Makefile
maxinefb.c
modedb.c
neofb.c
offb.c
p9100.c [SPARC]: Fix p9100 framebuffer in 2.6 2005-10-07 13:05:56 -07:00
platinumfb.c
platinumfb.h
pm2fb.c
pm3fb.c [PATCH] drivers/video: Replace custom macro with isdigit() 2005-09-13 08:22:33 -07:00
pmag-aa-fb.c
pmag-ba-fb.c
pmagb-b-fb.c
pvr2fb.c
pxafb.c [ARM] pxafb: Remove #if DEBUG, convert DPRINTK to pr_debug 2005-09-29 09:44:54 +01:00
pxafb.h [ARM] pxafb: Remove #if DEBUG, convert DPRINTK to pr_debug 2005-09-29 09:44:54 +01:00
q40fb.c
radeonfb.c
retz3fb.c
retz3fb.h
s1d13xxxfb.c
s3c2410fb.c [PATCH] s3c2410fb: Minor warning fix 2005-09-29 08:54:20 -07:00
s3c2410fb.h
S3triofb.c
sa1100fb.c [PATCH] zaurus: fix compilation with cpufreq disabled 2005-10-14 17:10:12 -07:00
sa1100fb.h
sbuslib.c
sbuslib.h
sgivwfb.c
skeletonfb.c
softcursor.c
sstfb.c
sticore.h
stifb.c
sun3fb.c
tcx.c
tdfxfb.c
tgafb.c
tridentfb.c
tx3912fb.c
valkyriefb.c
valkyriefb.h
vesafb.c
vfb.c
vga16fb.c
vgastate.c
virgefb.c
virgefb.h
w100fb.c
w100fb.h