]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
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 9d25db6924b3ac48a9499e0af4c66ad3be817713..5be7fff2cf334310eb24b619ff83050f83d77399 100644 (file)
@@ -251,6 +251,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,