summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Jorns <ejo@pengutronix.de>2015-11-24 16:29:22 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-02-10 14:26:53 +0100
commit33bee520cbaee22118fb96ab500ba4cd4e8cb749 (patch)
tree2980a0b8c7d119776a85b5fc2acbca61a02c7dc8
parentdrm/imx: notify DRM core about CRTC vblank state (diff)
downloadlinux-33bee520cbaee22118fb96ab500ba4cd4e8cb749.tar.xz
linux-33bee520cbaee22118fb96ab500ba4cd4e8cb749.zip
drm/imx: Add missing DRM_FORMAT_RGB565 to ipu_plane_formats
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>
-rw-r--r--drivers/gpu/drm/imx/ipuv3-plane.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c
index 591ba2f1ae03..26bb1b626fe3 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)