198fc108ee
PXA27x and later processors support overlay1 and overlay2 on-top of the base framebuffer (although under-neath the base is also possible). They support palette and no-palette RGB formats, as well as YUV formats (only available on overlay2). These overlays have dedicated DMA channels and behave in a similar way as a framebuffer. This heavily simplified and re-structured work is based on the original pxafb_overlay.c (which is pending for mainline merge for a long time). The major problems with this pxafb_overlay.c are (if you are interested in the history): 1. heavily redundant (the control logics for overlay1 and overlay2 are actually identical except for some small operations, which are now abstracted into a 'pxafb_layer_ops' structure) 2. a lot of useless and un-tested code (two workarounds which are now fixed on mature silicons) 3. cursorfb is actually useless, hardware cursor should not be used this way, and the code was actually un-tested for a long time. The code in this patch should be self-explanatory, I tried to add minimum comments. As said, this is basically simplified, there are several things still on the pending list: 1. palette mode is un-supported and un-tested (although re-using the palette code of the base framebuffer is actually very easy now with previous clean-up patches) 2. fb_pan_display for overlay(s) is un-supported 3. the base framebuffer can actually be abstracted by 'pxafb_layer' as well, which will help further re-use of the code and keep a better and consistent structure. (This is the reason I named it 'pxafb_layer' instead of 'pxafb_overlay' or something alike) See Documentation/fb/pxafb.txt for additional usage information. Signed-off-by: Eric Miao <eric.miao@marvell.com> Cc: Rodolfo Giometti <giometti@linux.it> Signed-off-by: Eric Miao <ycmiao@ycmiao-hp520.(none)> |
||
---|---|---|
.. | ||
audio.h | ||
bitfield.h | ||
camera.h | ||
colibri.h | ||
corgi.h | ||
debug-macro.S | ||
dma.h | ||
entry-macro.S | ||
eseries-gpio.h | ||
eseries-irq.h | ||
gpio.h | ||
gumstix.h | ||
h5000.h | ||
hardware.h | ||
i2c.h | ||
idp.h | ||
io.h | ||
irda.h | ||
irqs.h | ||
littleton.h | ||
lpd270.h | ||
lubbock.h | ||
magician.h | ||
mainstone.h | ||
memory.h | ||
mfp-pxa2xx.h | ||
mfp-pxa3xx.h | ||
mfp-pxa25x.h | ||
mfp-pxa27x.h | ||
mfp-pxa300.h | ||
mfp-pxa320.h | ||
mfp-pxa930.h | ||
mfp.h | ||
mioa701.h | ||
mmc.h | ||
mtd-xip.h | ||
ohci.h | ||
palmtx.h | ||
palmz72.h | ||
pcm027.h | ||
pcm990_baseboard.h | ||
pm.h | ||
poodle.h | ||
pxa2xx_spi.h | ||
pxa2xx-gpio.h | ||
pxa2xx-regs.h | ||
pxa3xx_nand.h | ||
pxa3xx-regs.h | ||
pxa25x-udc.h | ||
pxa27x_keypad.h | ||
pxa27x-udc.h | ||
pxa-regs.h | ||
pxafb.h | ||
regs-ac97.h | ||
regs-lcd.h | ||
regs-ssp.h | ||
regs-uart.h | ||
reset.h | ||
sharpsl.h | ||
spitz.h | ||
ssp.h | ||
system.h | ||
timex.h | ||
tosa_bt.h | ||
tosa.h | ||
trizeps4.h | ||
udc.h | ||
uncompress.h | ||
viper.h | ||
vmalloc.h | ||
zylonite.h |