kernel-ark/drivers/video
Antonino A. Daplas 3edea4833a [PATCH] intelfb/fbdev: Save info->flags in a local variable
Reported by: Pavel Kysilka (Bugzilla Bug 5059)

The intelfb driver does not keep resolution set with fbset after
switching to anot console and back.

Steps to reproduce:

  initial options: tty1,tty2 - 1024x768-60
  1) tty1 - fbset after booting (1024x768-60)
  2) tty1 - fbset 800x600-100
  tty1: 800x600-100
  3) swith to tty2, swith to tty1
  tty1: 1024x768-60 (the same resolution as default from kernel booting)

This bug is caused by intelfb unintentionally destroying info->flags in
set_par(). Therefore the flag, FBINFO_MISC_USEREVENT used to notify
fbcon of a mode change was cleared causing the above problem. This bug
though is not intelfb specific, as other drivers may also be affected.

The fix is to save info->flags in a local variable before calling any
of the driver hooks.  A more definitive fix (for post 2.6.13) is to
separate info->flags into one that is set by the driver and another that
is set by core fbdev/fbcon.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-08-15 09:59:39 -07:00
..
aty [PATCH] radeonfb: clean up EDID sysfs attribute 2005-07-27 16:26:18 -07:00
backlight
console [PATCH] fbcon: don't repaint the cursor when it is disabled. 2005-07-27 16:26:19 -07:00
geode
i810
intelfb [PATCH] intelfb: Do not ioremap entire graphics aperture 2005-08-15 09:53:34 -07:00
kyro
logo
matrox
nvidia [PATCH] nvidiafb: Fix initial display corruption on certain laptops 2005-08-08 11:46:24 -07:00
riva [PATCH] turn many #if $undefined_string into #ifdef $undefined_string 2005-07-27 16:26:08 -07:00
savage
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
dnfb.c
edid.h
epson1355fb.c
fbcmap.c [PATCH] fbdev: update info->cmap when setting cmap from user-/kernelspace. 2005-07-27 16:26:19 -07:00
fbmem.c [PATCH] intelfb/fbdev: Save info->flags in a local variable 2005-08-15 09:59:39 -07:00
fbmon.c [PATCH] fbmon: horizontal frequency rounding fix 2005-07-27 16:26:18 -07:00
fbsysfs.c [PATCH] Display name of fbdev device 2005-07-31 12:50:46 -07:00
ffb.c
fm2fb.c
g364fb.c
gbefb.c
hgafb.c
hitfb.c
hpfb.c
igafb.c
imsttfb.c
imxfb.c
imxfb.h
Kconfig
leo.c
macfb.c
macmodes.c
macmodes.h
Makefile
maxinefb.c
modedb.c [PATCH] nvidiafb: Fix initial display corruption on certain laptops 2005-08-08 11:46:24 -07:00
neofb.c
offb.c
p9100.c
platinumfb.c
platinumfb.h
pm2fb.c [PATCH] clean up inline static vs static inline 2005-07-27 16:26:20 -07:00
pm3fb.c
pmag-aa-fb.c
pmag-ba-fb.c
pmagb-b-fb.c
pvr2fb.c
pxafb.c [PATCH] ARM: 2846/1: proper handling of CKEN for pxafb 2005-08-10 16:45:13 +01:00
pxafb.h
q40fb.c
radeonfb.c
retz3fb.c
retz3fb.h
s1d13xxxfb.c
S3triofb.c
sa1100fb.c [PATCH] ARM: Make sa1100fb_display_dma_period() an inline function 2005-08-07 14:20:26 +01: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 [PATCH] tridentfb: Fix scrolling artifacts during disk IO 2005-08-01 10:07:53 -07:00
tx3912fb.c
valkyriefb.c
valkyriefb.h
vesafb.c [PATCH] vesafb: Fix mtrr bugs 2005-07-29 15:01:13 -07:00
vfb.c
vga16fb.c
vgastate.c
virgefb.c
virgefb.h
w100fb.c
w100fb.h