drm/fourcc: Add RGB161616 and BGR161616 formats
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Mon, 26 Feb 2024 13:25:43 +0000 (14:25 +0100)
committerJavier Martinez Canillas <javierm@redhat.com>
Sat, 28 Jun 2025 07:36:16 +0000 (09:36 +0200)
commit1aa93cfb1288a141c64e923dbaaa277616f0f7d5
treefd7db4a877d0a2e7f12392f669195330b9f07993
parent8ad00a81d769ad81aac0ef65a4adbc2f53169b3c
drm/fourcc: Add RGB161616 and BGR161616 formats

Add FourCC definitions for the 48-bit RGB/BGR formats to the
DRM/KMS uapi.

The format will be used by the Raspberry Pi PiSP Back End,
supported by a V4L2 driver in kernel space and by libcamera in
userspace, which uses the DRM FourCC identifiers.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Rob Clark <robin.clark@oss.qualcomm.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Link: https://lore.kernel.org/r/20240226132544.82817-1-jacopo.mondi@ideasonboard.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
drivers/gpu/drm/drm_fourcc.c
include/uapi/drm/drm_fourcc.h