summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-12 14:35:55 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-05-30 09:14:00 +0200
commit7932131f6381e5d2d4a78d9134f5f6bf45900ae5 (patch)
tree1f74e1e0883f2ac3d92063d4bccae8a019c8749e /drivers
parent3a1c117f8bf13435f6db78f294d5754b2eb6185b (diff)
downloadlinux-7932131f6381e5d2d4a78d9134f5f6bf45900ae5.tar.gz
linux-7932131f6381e5d2d4a78d9134f5f6bf45900ae5.tar.bz2
linux-7932131f6381e5d2d4a78d9134f5f6bf45900ae5.zip
drm/imx: ipuv3-plane: enable UYVY and VYUY formats
Advertise the DRM_FORMAT_UYVY and DRM_FORMAT_VYUY formats to userspace. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/imx/ipuv3-plane.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c
index 681ec6eb77d9..8c24df787884 100644
--- a/drivers/gpu/drm/imx/ipuv3-plane.c
+++ b/drivers/gpu/drm/imx/ipuv3-plane.c
@@ -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,