diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2018-08-02 10:40:33 +0200 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2018-08-02 11:32:40 +0200 |
commit | 5c41bb6071257ba668a2b8933a8654e69aea1cee (patch) | |
tree | 78177f245bef4dc73ef5217b3dfc0c826bd3cafa /drivers/gpu/ipu-v3/ipu-image-convert.c | |
parent | drm/imx: Convert drm_atomic_helper_suspend/resume() (diff) | |
download | linux-5c41bb6071257ba668a2b8933a8654e69aea1cee.tar.xz linux-5c41bb6071257ba668a2b8933a8654e69aea1cee.zip |
gpu: ipu-v3: add support for XRGB32 and XBGR32 V4L2 pixel formats
These should be used instead of the ill-defined deprecated RGB32 and
BGR32 V4L2 pixel formats.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/ipu-v3/ipu-image-convert.c')
-rw-r--r-- | drivers/gpu/ipu-v3/ipu-image-convert.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/ipu-v3/ipu-image-convert.c b/drivers/gpu/ipu-v3/ipu-image-convert.c index 524a717ab28e..f4081962784c 100644 --- a/drivers/gpu/ipu-v3/ipu-image-convert.c +++ b/drivers/gpu/ipu-v3/ipu-image-convert.c @@ -227,6 +227,12 @@ static const struct ipu_image_pixfmt image_convert_formats[] = { .fourcc = V4L2_PIX_FMT_BGR32, .bpp = 32, }, { + .fourcc = V4L2_PIX_FMT_XRGB32, + .bpp = 32, + }, { + .fourcc = V4L2_PIX_FMT_XBGR32, + .bpp = 32, + }, { .fourcc = V4L2_PIX_FMT_YUYV, .bpp = 16, .uv_width_dec = 2, |