[PATCH 46/72] imx-drm: ipuv3-plane: Add more supported pixel formats

Steve Longerbeam slongerbeam at gmail.com
Fri Oct 31 15:54:29 PDT 2014


Report more supported formats to drm core via ipu_plane_formats[].

Signed-off-by: Steve Longerbeam <steve_longerbeam at mentor.com>
---
 drivers/staging/imx-drm/ipuv3-plane.c |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/staging/imx-drm/ipuv3-plane.c b/drivers/staging/imx-drm/ipuv3-plane.c
index cbd300b..5818249 100644
--- a/drivers/staging/imx-drm/ipuv3-plane.c
+++ b/drivers/staging/imx-drm/ipuv3-plane.c
@@ -29,10 +29,18 @@ static const uint32_t ipu_plane_formats[] = {
 	DRM_FORMAT_XRGB8888,
 	DRM_FORMAT_ABGR8888,
 	DRM_FORMAT_XBGR8888,
+	DRM_FORMAT_RGB565,
+	DRM_FORMAT_RGB888,
+	DRM_FORMAT_BGR888,
 	DRM_FORMAT_YUYV,
+	DRM_FORMAT_UYVY,
 	DRM_FORMAT_YVYU,
 	DRM_FORMAT_YUV420,
 	DRM_FORMAT_YVU420,
+	DRM_FORMAT_YUV422,
+	DRM_FORMAT_YVU422,
+	DRM_FORMAT_NV12,
+	DRM_FORMAT_NV16,
 };
 
 int ipu_plane_irq(struct ipu_plane *ipu_plane)
-- 
1.7.9.5



More information about the dri-devel mailing list