Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent fb822a39
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);