• Neil Armstrong's avatar
    media: meson: Add M2M driver for the Amlogic GE2D Accelerator Unit · 59a63532
    Neil Armstrong authored
    The GE2D is a 2D accelerator with various features like configurable
    blitter with alpha blending, frame rotation, scaling, format conversion
    and colorspace conversion.
    
    The driver implements a Memory2Memory VB2 V4L2 streaming device permitting:
    - 0, 90, 180, 270deg rotation
    - horizontal/vertical flipping
    - source cropping
    - destination compositing
    - 32bit/24bit/16bit format conversion
    
    This adds the support for the GE2D version found in the AXG SoCs Family.
    
    The missing features are:
    - Source scaling
    - Colorspace conversion
    - Advanced alpha blending & blitting options
    
    Is passes v4l2-compliance:
    SHA: ea16a7ef13a902793a5c2626b0cefc4d956147f3, 64 bits, 64-bit time_t
    
    [hverkuil: add missing linux/bitfield.h include]
    Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
    Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
    59a63532
ge2d-regs.h 12.9 KB