[PATCH 0/7] imx-drm: additional alpha transparency formats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this series adds support for more alpha transpancy formats such as
RGBA 8:8:8:8, ARGB 1:5:5:5, and the more esoteric formats with 8-bit
alpha on a separate plane.

For the latter, new 2-plane RGB formats are added:
    DRM_FORMAT_XRGB8888_A8
    DRM_FORMAT_XBGR8888_A8
    DRM_FORMAT_RGBX8888_A8
    DRM_FORMAT_BGRX8888_A8
    DRM_FORMAT_RGB888_A8
    DRM_FORMAT_BGR888_A8
    DRM_FORMAT_RGB565_A8
    DRM_FORMAT_BGR565_A8

They contain RGB data in the first plane and 8-bit alpha values in the
second plane. If supported by the hardware, memory bandwidth usage can
be reduced in case of frame buffers with large, completely transparent
regions by selectively skipping read accesses in the color channel.

regards
Philipp

Philipp Zabel (7):
  gpu: ipu-v3: Add support for 15-bit RGB with 1-bit alpha formats
  drm/imx: Add support for 15-bit RGB with 1-bit alpha formats
  gpu: ipu-v3: add support for RGBX8888 and RGBA8888 pixel formats
  gpu: ipu-v3: add support for separate alpha channels
  drm/imx: ipuv3-plane: enable support for RGBX8888 and RGBA8888 pixel
    formats
  drm: add RGB formats with separate alpha plane
  drm/imx: ipuv3-plane: add support for separate alpha planes

 drivers/gpu/drm/drm_crtc.c        |  35 ++++++++++
 drivers/gpu/drm/imx/ipuv3-plane.c |  86 ++++++++++++++++++++++++
 drivers/gpu/drm/imx/ipuv3-plane.h |   2 +
 drivers/gpu/ipu-v3/ipu-common.c   |  10 +++
 drivers/gpu/ipu-v3/ipu-cpmem.c    | 133 ++++++++++++++++++++++++++++++++++++--
 include/uapi/drm/drm_fourcc.h     |  14 ++++
 include/video/imx-ipu-v3.h        |  22 +++++++
 7 files changed, 298 insertions(+), 4 deletions(-)

-- 
2.1.4

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux