android_kernel_xiaomi_sm8350/drivers/video
Benjamin Herrenschmidt 441cbd8dac [POWERPC] Fix various offb issues
This patch fixes a few issues in offb:

 - A test was inverted causing the palette hack to never work
(no device node was passed down to the init function)

 - Some cards seem to have their assigned-addresses property in a random
order, thus we need to try using of_get_pci_address() first, which will
fail if it's not a PCI device, and fallback to of_get_address() in that
case. of_get_pci_address() properly parsees assigned-addresses to test
the BAR number and thus will get it right whatever the order is.

 - Some cards (like GXT4500) provide a linebytes of 0xffffffff in the
device-tree which does no good. This patch handles that by using the
screen width when that happens. (Also fixes btext.c while at it).

 - Add detection of the GXT4500 in addition to the GXT2000 for the
palette hacks (we use the same hack, palette is linear in register space
at offset 0x6000).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-11-01 14:52:48 +11:00
..
aty IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
backlight video: Fix include in hp680_bl. 2006-10-31 12:53:28 +09:00
console IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
geode
i810 [PATCH] i810fb: Honor the return value of pci_enable_device 2006-10-03 08:04:11 -07:00
intelfb Remove unnecessary check in drivers/video/intelfb/intelfbhw.c 2006-10-25 12:05:18 -07:00
kyro
logo
matrox IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
mbx [PATCH] mbxfb: Fix framebuffer size smaller than requested 2006-10-03 08:04:12 -07:00
nvidia [PATCH] revert "nvidiafb: use generic ddc reading" 2006-10-11 11:14:14 -07:00
pnx4008
riva [PATCH] fbdev: riva warning fix 2006-10-04 07:55:24 -07:00
savage [PATCH] savagefb: Use generic DDC reading 2006-10-03 08:04:10 -07:00
sis [PATCH] drivers/video/sis/sis_main.h Removal of old code 2006-10-03 08:04:12 -07:00
68328fb.c
acornfb.c
acornfb.h
amba-clcd.c
amifb.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
arcfb.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
asiliantfb.c
atafb.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
au1100fb.c [PATCH] au1100fb: Add option to enable/disable the cursor 2006-10-03 08:04:09 -07:00
au1100fb.h
au1200fb.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
au1200fb.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] Ifdef for when CONFIG_NVRAM isn't enabled. 2006-10-18 08:49:31 -04:00
controlfb.h
cyber2000fb.c
cyber2000fb.h
cyberfb.c
cyberfb.h
cyblafb.c
dnfb.c
edid.h
epson1355fb.c
fb_ddc.c [PATCH] fbdev: Add generic ddc read functionality 2006-10-03 08:04:09 -07:00
fb_notify.c
fbcmap.c
fbcvt.c
fbmem.c [PATCH] fbdev: correct buffer size limit in fbmem_read_proc() 2006-10-03 08:04:13 -07:00
fbmon.c
fbsysfs.c [PATCH] fbdev: Honor the return value of device_create_file 2006-10-03 08:04:10 -07:00
ffb.c
fm2fb.c
g364fb.c
gbefb.c
hgafb.c
hitfb.c sh: Cleanup board header directories. 2006-10-19 16:30:32 +09:00
hpfb.c
igafb.c [igafb] Add pci dev table for module auto loading. 2006-10-18 08:50:49 -04:00
imacfb.c
imsttfb.c
imxfb.c
imxfb.h
Kconfig [PATCH] revert "nvidiafb: use generic ddc reading" 2006-10-11 11:14:14 -07:00
leo.c
macfb.c
macmodes.c
macmodes.h
Makefile [PATCH] fbdev: Add generic ddc read functionality 2006-10-03 08:04:09 -07:00
maxinefb.c
modedb.c
neofb.c
offb.c [POWERPC] Fix various offb issues 2006-11-01 14:52:48 +11:00
p9100.c
platinumfb.c [platinumfb] Ifdef for when CONFIG_NVRAM isn't enabled. 2006-10-18 08:52:48 -04:00
platinumfb.h
pm2fb.c
pm3fb.c
pmag-aa-fb.c
pmag-ba-fb.c
pmagb-b-fb.c
pvr2fb.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pxafb.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pxafb.h [ARM] 3848/1: pxafb: Add option of fixing video modes and spitz QVGA mode support 2006-10-02 13:33:37 +01:00
q40fb.c
retz3fb.c
retz3fb.h
s1d13xxxfb.c
s3c2410fb.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
s3c2410fb.h fix file specification in comments 2006-10-03 23:01:26 +02:00
S3triofb.c
sa1100fb.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sa1100fb.h
sbuslib.c
sbuslib.h
sgivwfb.c
skeletonfb.c
sstfb.c [PATCH] sstfb: cleanups 2006-10-03 08:04:13 -07:00
sticore.h
stifb.c
sun3fb.c
tcx.c
tdfxfb.c
tgafb.c
tridentfb.c
tx3912fb.c
valkyriefb.c [valkyriefb] Ifdef for when CONFIG_NVRAM isn't enabled. 2006-10-18 08:53:37 -04:00
valkyriefb.h
vesafb.c
vfb.c
vga16fb.c
vgastate.c
virgefb.c
virgefb.h
w100fb.c
w100fb.h