Skip to content
  • Eric Miao's avatar
    [ARM] pxafb: add support for overlay1 and overlay2 as framebuffer devices · 198fc108
    Eric Miao authored
    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
         thi...
    198fc108