gpu: ipu-v3: image-convert: enable V4L2_PIX_FMT_BGRX32 and _RGBX32
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 29 Jul 2019 12:29:31 +0000 (14:29 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 19 Aug 2019 14:08:55 +0000 (16:08 +0200)
Enable image converter support for V4L2_PIX_FMT_BGRX32 and
V4L2_PIX_FMT_RGBX32 pixel formats.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/ipu-v3/ipu-image-convert.c

index 9d25db6..5be7fff 100644 (file)
@@ -252,6 +252,12 @@ static const struct ipu_image_pixfmt image_convert_formats[] = {
                .fourcc = V4L2_PIX_FMT_XBGR32,
                .bpp    = 32,
        }, {
+               .fourcc = V4L2_PIX_FMT_BGRX32,
+               .bpp    = 32,
+       }, {
+               .fourcc = V4L2_PIX_FMT_RGBX32,
+               .bpp    = 32,
+       }, {
                .fourcc = V4L2_PIX_FMT_YUYV,
                .bpp    = 16,
                .uv_width_dec = 2,