[PATCH 07/11] staging: drm-imx: add DRM_FORMAT_BGR888 to ipu crtc driver
Philipp Zabel
p.zabel at pengutronix.de
Thu Oct 10 16:18:42 CEST 2013
Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
---
drivers/staging/imx-drm/ipuv3-crtc.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c b/drivers/staging/imx-drm/ipuv3-crtc.c
index 574633b..f63931b 100644
--- a/drivers/staging/imx-drm/ipuv3-crtc.c
+++ b/drivers/staging/imx-drm/ipuv3-crtc.c
@@ -223,6 +223,10 @@ static int ipu_crtc_mode_set(struct drm_crtc *crtc,
v4l2_fmt = V4L2_PIX_FMT_RGB24;
bpp = 24;
break;
+ case DRM_FORMAT_BGR888:
+ v4l2_fmt = V4L2_PIX_FMT_BGR24;
+ bpp = 24;
+ break;
default:
dev_err(ipu_crtc->dev, "unsupported pixel format 0x%08x\n",
fb->pixel_format);
--
1.8.4.rc3
More information about the dri-devel
mailing list