drm/fourcc: Add formats for packed YUV 4:4:4 AVUY and XVUY permutations
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 16 Jun 2022 18:52:10 +0000 (21:52 +0300)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 18 Jul 2022 08:00:32 +0000 (10:00 +0200)
commit53618649ca6ded3222b24e8d25a09be30a197577
treee80060f3d245a489357c65b9b327ac3f6d47b15a
parent5f9cfd8243ee6f69e0d82519bae463e81411f439
drm/fourcc: Add formats for packed YUV 4:4:4 AVUY and XVUY permutations

Add FourCCs for two missing permutations of the packed YUV 4:4:4 color
components, namely AVUY and XVUY.

These formats are needed by the NXP i.MX8 ISI. While the ISI is
supported by a V4L2 device (corresponding formats have been submitted to
V4L2), it is handled in userspace by libcamera, which uses DRM FourCCs
for pixel formats.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220616185210.22018-1-laurent.pinchart@ideasonboard.com
include/uapi/drm/drm_fourcc.h