android_kernel_xiaomi_sm8350/drivers
Christian Trefzer 4836f5749e [PATCH] neofb: take existing display configuration as default
On a Dell Latitude CPi-A I noticed a strangeness wrt.  the handling of an
external monitor by the neomagic framebuffer driver, namely when the laptop is
docked in a C/Dock II with the lid shut.

A cold boot would result in the BIOS configuring the video chip to use the
"external monitor only" mode, yet neofb would default to "internal LCD only".
An attempt for a quick fix by using the Fn-F8 keystroke to toggle the display
combination modes resulted in a reproductible hard lock, powering down being
the only solution.

The attached patch makes neofb probe the register for the current display
mode, using that value as a default if nothing was specified as kernel/module
parameter.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-14 18:27:14 -08:00
..
acorn [PATCH] move capable() to capability.h 2006-01-11 18:42:13 -08:00
acpi [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
amba
atm [ATM]: Remove unneeded kmalloc() return value casts + tiny whitespace cleanup 2006-01-10 13:09:01 -08:00
base [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
block [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
bluetooth [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
cdrom [PATCH] powerpc: remove bitfields from HvLpEvent 2006-01-12 20:09:29 +11:00
char [PATCH] powerpc: Add support for the MPC83xx watchdog 2006-01-14 18:27:07 -08:00
connector [PATCH] Switch getnstimestamp() calls to ktime_get_ts() 2006-01-10 08:01:39 -08:00
cpufreq [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
crypto
dio [PATCH] Add dio_bus_type probe and remove methods 2006-01-13 11:26:07 -08:00
eisa
fc4
firmware [PATCH] dell_rbu: fix Bug 5854 2006-01-14 18:27:13 -08:00
hwmon
i2c [PATCH] Add i2c_bus_type probe and remove methods 2006-01-13 11:26:07 -08:00
ide [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
ieee1394 [PATCH] don't include ioctl32.h in drivers 2006-01-10 08:01:34 -08:00
infiniband [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
input Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/spi-2.6 2006-01-14 10:43:26 -08:00
isdn [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
macintosh Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 2006-01-14 10:42:40 -08:00
mca
md [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
media [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
message [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
mfd [PATCH] Add MCP bus_type probe and remove methods 2006-01-13 11:26:08 -08:00
misc
mmc [PATCH] Add mmc_bus_type probe and remove methods 2006-01-13 11:26:08 -08:00
mtd [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
net [PATCH] cs89x0: add ixdp2351 support 2006-01-14 18:27:13 -08:00
nubus
oprofile [PATCH] move capable() to capability.h 2006-01-11 18:42:13 -08:00
parisc [PATCH] move capable() to capability.h 2006-01-11 18:42:13 -08:00
parport [PARISC] Fix parport_gsc by selecting PARPORT_NOT_PC 2006-01-10 21:52:25 -05:00
pci [PATCH] Add pci_bus_type probe and remove methods 2006-01-13 11:26:04 -08:00
pcmcia [PATCH] Add pcmcia_bus_type probe and remove methods 2006-01-13 11:26:08 -08:00
pnp [PATCH] Add pnp_bus_type probe and remove methods 2006-01-13 11:26:09 -08:00
rapidio [PATCH] Add rio_bus_type probe and remove methods 2006-01-13 11:26:10 -08:00
s390 [PATCH] s390: fix blk_queue_ordered call in dasd.c fixup 2006-01-14 18:27:10 -08:00
sbus [PATCH] remove unused tmp_buf_sem's 2006-01-14 10:41:42 -08:00
scsi [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
serial [PATCH] Altix: ioc3 serial support 2006-01-14 18:25:20 -08:00
sh [PATCH] Add superhyway_bus_type probe and remove methods 2006-01-13 11:26:09 -08:00
sn [PATCH] Altix: ioc3 serial support 2006-01-14 18:25:20 -08:00
spi [PATCH] SPI: add spi_butterfly driver 2006-01-13 16:29:56 -08:00
tc
telephony
usb [PATCH] Unlinline a bunch of other functions 2006-01-14 18:27:06 -08:00
video [PATCH] neofb: take existing display configuration as default 2006-01-14 18:27:14 -08:00
w1
zorro [PATCH] Add zorro_bus_type probe and remove methods 2006-01-13 11:26:10 -08:00
Kconfig [PATCH] spi: simple SPI framework 2006-01-13 16:29:54 -08:00
Makefile [PATCH] spi: simple SPI framework 2006-01-13 16:29:54 -08:00