summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/ipu-v3/ipu-common.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2015-08-04 17:21:04 +0200
committerPhilipp Zabel <p.zabel@pengutronix.de>2015-10-30 17:13:47 +0100
commit7d2e8a204aa04b83aca2beb5f1441262c3aa26c8 (patch)
treeabd7059f3cfb7296c6dea2a6c1ba7fa77f3d7da5 /drivers/gpu/ipu-v3/ipu-common.c
parent59d6b7189a968d627af37fc26a410dced0854b99 (diff)
downloadlinux-stable-7d2e8a204aa04b83aca2beb5f1441262c3aa26c8.tar.gz
linux-stable-7d2e8a204aa04b83aca2beb5f1441262c3aa26c8.tar.bz2
linux-stable-7d2e8a204aa04b83aca2beb5f1441262c3aa26c8.zip
gpu: ipu-v3: add support for ARGB4444 16-bit color format
This patch adds support for the ARGB4444 color format. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-common.c')
-rw-r--r--drivers/gpu/ipu-v3/ipu-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-common.c
index c0b19160a946..ba47b30d28fa 100644
--- a/drivers/gpu/ipu-v3/ipu-common.c
+++ b/drivers/gpu/ipu-v3/ipu-common.c
@@ -65,6 +65,7 @@ enum ipu_color_space ipu_drm_fourcc_to_colorspace(u32 drm_fourcc)
case DRM_FORMAT_BGR565:
case DRM_FORMAT_RGB888:
case DRM_FORMAT_BGR888:
+ case DRM_FORMAT_ARGB4444:
case DRM_FORMAT_XRGB8888:
case DRM_FORMAT_XBGR8888:
case DRM_FORMAT_RGBX8888: