kernel-ark/drivers
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
..
acorn [PATCH] ARM: switch fd1772.c from sleep_on to wait_event 2005-08-07 14:23:42 +01:00
acpi Revert PCIBIOS_MIN_IO changes for 2.6.13 2005-08-14 18:21:30 -07:00
atm
base
block [PATCH] blk: fix tag shrinking (revive real_max_size) 2005-08-05 13:43:16 -07:00
bluetooth [Bluetooth] Remove unused functions and cleanup symbol exports 2005-08-06 12:36:51 +02:00
cdrom
char Fix up mmap of /dev/kmem 2005-08-13 14:22:59 -07:00
cpufreq
crypto
dio
eisa
fc4
firmware
hwmon
i2c [PATCH] Build fix for the Sibyte I2C driver 2005-08-09 12:08:21 -07:00
ide [PATCH] Fix ide-disk.c oops caused by hwif == NULL 2005-08-09 20:21:31 -07:00
ieee1394
infiniband
input [PATCH] ns558 list handling fix 2005-08-10 11:03:02 -07:00
isdn [PATCH] icn driver fails to unload when no hardware present 2005-08-08 16:21:32 -07:00
macintosh
mca
md
media [PATCH] DVB: lgdt330x frontend: some bug fixes & add lgdt3303 support 2005-08-09 17:59:52 -07:00
message [PATCH] I2O: added pci_request_regions() before using the controller 2005-08-09 17:59:52 -07:00
misc
mmc [PATCH] wbsd version bump 2005-08-10 11:08:56 -07:00
mtd
net [NETPOLL]: e1000 netpoll tweak 2005-08-11 19:24:33 -07:00
nubus
oprofile
parisc
parport
pci Revert "[PATCH] PCI: restore BAR values..." 2005-08-08 18:46:09 -07:00
pcmcia
pnp
s390 [PATCH] s390: use klist in qeth driver 2005-08-08 11:49:57 -07:00
sbus [SPARC]: envctrl: ERR_PTR() --> PTR_ERR() 2005-08-09 14:43:14 -07:00
scsi Revert "dc395x: Fix support for highmem" 2005-08-14 15:43:39 -07:00
serial [PATCH] cpm_uart: needs some love to compile with GCC4.0.1 2005-08-09 12:08:22 -07:00
sh
sn
tc
telephony
usb
video [PATCH] intelfb/fbdev: Save info->flags in a local variable 2005-08-15 09:59:39 -07:00
w1 [PATCH] w1: more debug level decrease. 2005-08-12 12:55:02 -07:00
zorro
Kconfig
Makefile