Commit 974aa743 authored by Philipp Zabel's avatar Philipp Zabel Committed by Greg Kroah-Hartman

staging: drm-imx: add DRM_FORMAT_BGR888 to ipu crtc driver

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fb822a39
...@@ -223,6 +223,10 @@ static int ipu_crtc_mode_set(struct drm_crtc *crtc, ...@@ -223,6 +223,10 @@ static int ipu_crtc_mode_set(struct drm_crtc *crtc,
v4l2_fmt = V4L2_PIX_FMT_RGB24; v4l2_fmt = V4L2_PIX_FMT_RGB24;
bpp = 24; bpp = 24;
break; break;
case DRM_FORMAT_BGR888:
v4l2_fmt = V4L2_PIX_FMT_BGR24;
bpp = 24;
break;
default: default:
dev_err(ipu_crtc->dev, "unsupported pixel format 0x%08x\n", dev_err(ipu_crtc->dev, "unsupported pixel format 0x%08x\n",
fb->pixel_format); fb->pixel_format);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment