]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/imx: ipuv3-plane: enable UYVY and VYUY formats
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 12 Feb 2016 13:35:55 +0000 (14:35 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 30 May 2016 07:14:00 +0000 (09:14 +0200)
Advertise the DRM_FORMAT_UYVY and DRM_FORMAT_VYUY formats to userspace.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c

index 681ec6eb77d916fc3be6a47d783fab54ed1f07fb..8c24df7878846f8376d07249bd687d9cfcf19fec 100644 (file)
@@ -38,6 +38,8 @@ static const uint32_t ipu_plane_formats[] = {
        DRM_FORMAT_RGBX8888,
        DRM_FORMAT_BGRA8888,
        DRM_FORMAT_BGRA8888,
+       DRM_FORMAT_UYVY,
+       DRM_FORMAT_VYUY,
        DRM_FORMAT_YUYV,
        DRM_FORMAT_YVYU,
        DRM_FORMAT_YUV420,