Skip to content

Commit

Permalink
staging: drm-imx: add DRM_FORMAT_BGR888 to ipu crtc driver
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Philipp Zabel authored and Greg Kroah-Hartman committed Oct 11, 2013
1 parent fb822a3 commit 974aa74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/staging/imx-drm/ipuv3-crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 974aa74

Please sign in to comment.