android_kernel_xiaomi_sm8350/drivers
Christian Trefzer 10ee39fe3f [PATCH] neofb: avoid resetting display config on unblank
Fix issues with the NeoMagic framebuffer driver.

It nicely complements my previous fix already in linus' tree.  The only
thing missing now is that the external CRT will not be activated at neofb
init when external-only is selected, either by register read or
module/kernel parameter.

Testing was done on a Dell Latitude CPi-A/NM2200 chip.

Previous behaviour:
- before booting linux, set the preferred display config X via FN+F8

- boot linux, neofb stores the register values in a private
  variable

- change the display config to Y via keystroke

- leave the machine in peace until display is blanked

- touching any key will result in display config X being restored

- booting up, the BIOS will acknowledge config Y, though...

Current behaviour:
At the time of unblanking, config Y is honoured because we now read back
register contents instead of just overwriting them with outdated values.

Signed-off by: Christian Trefzer <ctrefzer@gmx.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-14 16:09:35 -08:00
..
acorn
acpi [PATCH] x86_64: data/functions wrongly marked as __init with cpu hotplug. 2006-02-04 16:43:14 -08:00
amba
atm
base [PATCH] fix __user annotations in drivers/base/memory.c 2006-02-07 20:58:04 -05:00
block [PATCH] pktcdvd: Reduce stack usage 2006-02-14 16:09:33 -08:00
bluetooth [Bluetooth] Fix firmware loading problem of BT3C driver 2006-02-13 11:40:07 +01:00
cdrom [PATCH] remove bogus asm/bug.h includes. 2006-02-07 20:56:35 -05:00
char [PATCH] HPET: handle multiple ACPI EXTENDED_IRQ resources 2006-02-14 16:09:34 -08:00
connector
cpufreq
crypto
dio
edac [PATCH] drivers/edac/i82875p_edac.c __user annotations 2006-02-07 20:58:09 -05:00
eisa
fc4
firmware
hwmon [PATCH] it87: Fix oops on removal 2006-02-13 22:30:10 -08:00
i2c [PATCH] i2c: Drop outdated probe/remove code in i2c-isa 2006-02-13 22:30:10 -08:00
ide [PATCH] ide: cast arguments to pr_debug() properly 2006-02-07 16:12:31 -08:00
ieee1394
infiniband Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2006-02-14 13:49:37 -08:00
input
isdn [PATCH] Fix NULL pointer dereference in isdn_tty_at_cout 2006-02-14 16:09:34 -08:00
macintosh ppc: fix up trivial Kconfig config selection 2006-02-08 07:51:17 -08:00
mca
md
media [PATCH] drivers/media/video __user annotations and fixes 2006-02-08 01:03:39 -05:00
message [PATCH] Fix i2o_scsi oops on abort 2006-02-05 11:06:51 -08:00
mfd
misc
mmc [MMC] Remove extra character in AU1XXX MMC Kconfig entry 2006-02-08 22:23:05 +00:00
mtd [PATCH] arm: fix dependencies for MTD_XIP 2006-02-08 01:02:58 -05:00
net [APPLETALK]: warning fix 2006-02-13 15:53:41 -08:00
nubus
oprofile
parisc [PARISC] Convert sba_iommu.c to use seq_file 2006-02-08 22:56:22 -05:00
parport Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 2006-02-03 18:17:47 -08:00
pci
pcmcia
pnp
rapidio
s390 [PATCH] s390: fix sclp memory corruption in tty pages list 2006-02-11 21:41:12 -08:00
sbus
scsi Merge branch 'upstream-fixes' 2006-02-09 04:29:00 -05:00
serial [SERIAL] Remove incorrect code from ioc4 serial driver 2006-02-10 21:50:43 +00:00
sh
sn [PATCH] sn3 iomem annotations and fixes 2006-02-08 01:03:52 -05:00
spi [PATCH] SPI: spi_butterfly, restore lost deltas 2006-02-06 12:17:17 -08:00
tc [PATCH] remove bogus asm/bug.h includes. 2006-02-07 20:56:35 -05:00
telephony [PATCH] ixj: fix writing silence check 2006-02-03 08:32:08 -08:00
usb [PATCH] USB: unusual-devs bugfix 2006-02-13 21:33:40 -08:00
video [PATCH] neofb: avoid resetting display config on unblank 2006-02-14 16:09:35 -08:00
w1
zorro
Kconfig
Makefile