Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1321611

[PATCH] drm/imx: Add missing DRM_FORMAT_RGB565 to ipu_plane_formats

From Philipp Zabel <p.zabel@pengutronix.de>
Newsgroups linux.kernel
Subject [PATCH] drm/imx: Add missing DRM_FORMAT_RGB565 to ipu_plane_formats
Date 2016-01-29 10:50 +0100
Message-ID <qWdQJ-La-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Enrico Jorns <ejo@pengutronix.de>

DRM_FORMAT_RGB565 is missing from ipu_plane_formats.
The support is there, just need to make it available to userspace.

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/gpu/drm/imx/ipuv3-plane.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c
index e2ff410..32a246cd 100644
--- a/drivers/gpu/drm/imx/ipuv3-plane.c
+++ b/drivers/gpu/drm/imx/ipuv3-plane.c
@@ -42,6 +42,7 @@ static const uint32_t ipu_plane_formats[] = {
 	DRM_FORMAT_YVYU,
 	DRM_FORMAT_YUV420,
 	DRM_FORMAT_YVU420,
+	DRM_FORMAT_RGB565,
 };
 
 int ipu_plane_irq(struct ipu_plane *ipu_plane)
-- 
2.7.0.rc3

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] drm/imx: Add missing DRM_FORMAT_RGB565 to ipu_plane_formats Philipp Zabel <p.zabel@pengutronix.de> - 2016-01-29 10:50 +0100

csiph-web