mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
staging: drm-imx: add DRM_FORMAT_BGR888 to ipu crtc driver
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fb822a395f
commit
974aa74318
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user