From: Philipp Zabel
Date: Fri, 12 Feb 2016 13:35:55 +0000 (+0100)
Subject: drm/imx: ipuv3-plane: enable UYVY and VYUY formats
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7932131f6381e5d2d4a78d9134f5f6bf45900ae5;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git
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
---
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,