linux/arch/arm/mach-pxa/include/mach
Eric Miao 198fc108ee [ARM] pxafb: add support for overlay1 and overlay2 as framebuffer devices
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)>
2008-12-29 18:00:04 +08:00
..
audio.h
bitfield.h
camera.h V4L/DVB (8687): soc-camera: Move .power and .reset from soc_camera host to sensor driver 2008-10-12 09:36:50 -02:00
colibri.h
corgi.h Revert "[ARM] pxa/corgi: remove now unused corgi_ssp.c and corgi_lcd.c" 2008-10-21 09:42:29 +08:00
debug-macro.S
dma.h
entry-macro.S [ARM] 5233/1: Allow PXA to have ISA IRQs numbered 0-15 2008-09-01 17:13:26 +01:00
eseries-gpio.h
eseries-irq.h
gpio.h
gumstix.h [ARM] pxa/gumstix: fix incorrect init done by am200 2008-12-17 22:51:38 +08:00
h5000.h [ARM] pxa: add basic support for HP iPAQ h5000 2008-12-02 14:43:50 +08:00
hardware.h [ARM] rtc-sa1100: don't assume CLOCK_TICK_RATE to be a constant 2008-12-29 17:57:48 +08:00
i2c.h [ARM] 5278/1: i2c-pxa fast mode support 2008-10-03 15:57:06 +01:00
idp.h
io.h
irda.h
irqs.h [ARM] pxa: fix redefinition of NR_IRQS 2008-10-17 13:19:08 +01:00
littleton.h [ARM] pxa/littleton: add preliminary I2C board info (da9034 + max7320) 2008-12-17 22:52:12 +08:00
lpd270.h
lubbock.h
magician.h
mainstone.h
memory.h [ARM] 5280/1: pxa: prepare cm-x2xx.c and cm-x2xx-pci.[ch] for addition of CM-X255 2008-10-07 12:05:05 +01:00
mfp-pxa2xx.h
mfp-pxa3xx.h
mfp-pxa25x.h [ARM] pxa: add support for additional GPIOs on PXA26x 2008-12-02 14:42:37 +08:00
mfp-pxa27x.h [ARM] pxa: add missing GPIOs definitions 2008-12-02 14:42:41 +08:00
mfp-pxa300.h
mfp-pxa320.h [ARM] pxa: fix incorrect definitions of SSP3 on pxa320 2008-08-26 17:02:00 +01:00
mfp-pxa930.h [ARM] pxa/tavorevb: update board support (smartpanel LCD + keypad) 2008-12-29 17:57:23 +08:00
mfp.h [ARM] pxa: better MFP low power state support for pxa25x/pxa27x 2008-09-26 23:43:20 +01:00
mioa701.h [ARM] pxa/MioA701: discovered new gpio definitions. 2008-12-02 14:43:48 +08:00
mmc.h
mtd-xip.h [ARM] 5191/1: ARM: remove CVS keywords 2008-08-16 20:01:18 +01:00
ohci.h [ARM] ohci-pxa27x: introduce flags to avoid direct access to OHCI registers 2008-10-07 19:12:57 +01:00
palmtx.h
palmz72.h [ARM] 5239/1: Palm Zire 72 power management support 2008-10-09 15:12:07 +01:00
pcm027.h
pcm990_baseboard.h
pm.h [ARM] pxa: Allow platforms to override PSPR setting 2008-09-09 16:32:52 +01:00
poodle.h [ARM] pxa/poodle: prepare scoop for the generic GPIO API 2008-09-23 22:04:38 +01:00
pxa2xx_spi.h
pxa2xx-gpio.h [ARM] pxa: removed unused declarations of pxa_gpio_* in hardware.h 2008-12-02 14:42:37 +08:00
pxa2xx-regs.h [ARM] pxa: cpufreq-pxa2xx: sdram_rows detection support 2008-12-02 14:43:47 +08:00
pxa3xx_nand.h [MTD] [NAND] pxa3xx_nand: moved some helper variables out from platform data 2008-09-01 21:38:34 +01:00
pxa3xx-regs.h [ARM] pxa: add missing ACCR bit definitions to pxa3xx-regs.h 2008-10-07 19:12:59 +01:00
pxa25x-udc.h
pxa27x_keypad.h
pxa27x-udc.h
pxa-regs.h [ARM] pxa: include <mach/hardware.h> in pxa-regs.h 2008-12-02 14:42:39 +08:00
pxafb.h [ARM] pxafb: allow video memory size to be configurable 2008-12-29 17:59:16 +08:00
regs-ac97.h [ARM] pxa: move AC97 register definitions into dedicated regs-ac97.h 2008-12-02 14:42:39 +08:00
regs-lcd.h [ARM] pxafb: add support for overlay1 and overlay2 as framebuffer devices 2008-12-29 18:00:04 +08:00
regs-ssp.h
regs-uart.h [ARM] pxa: move UART register definitions into dedicated regs-uart.h 2008-12-02 14:42:38 +08:00
reset.h [ARM] 5300/1: fixup spitz reset during boot 2008-10-11 09:52:38 +01:00
sharpsl.h [ARM] corgi_lcd: fix simultaneous compilation with corgi_bl 2008-10-29 11:45:37 +08:00
spitz.h [ARM] pxa/spitz: fix unbalance parenthesis in header file spitz.h 2008-10-21 22:45:57 +08:00
ssp.h [ARM] 5224/2: PXA SSP: Introduce register accessors 2008-09-09 16:32:52 +01:00
system.h
timex.h [ARM] rtc-sa1100: don't assume CLOCK_TICK_RATE to be a constant 2008-12-29 17:57:48 +08:00
tosa_bt.h
tosa.h backlight: add support for Sharp SL-6000 LCD and backlight drivers 2008-10-21 00:19:49 +01:00
trizeps4.h [ARM] 5204/1: Trizeps4 SOM update 2008-10-01 22:33:11 +01:00
udc.h
uncompress.h [ARM] pxa: initial support for the Imote2 platform 2008-12-17 22:51:39 +08:00
viper.h Basic support for the Arcom/Eurotech Viper SBC. 2008-09-09 17:41:46 +02:00
vmalloc.h
zylonite.h misc: replace remaining __FUNCTION__ with __func__ 2008-10-20 16:17:42 -07:00