drm/fourcc: Add AXBXGXRX106106106106 format
authorMatteo Franchin <matteo.franchin@arm.com>
Mon, 12 Oct 2020 16:40:43 +0000 (17:40 +0100)
committerLiviu Dudau <liviu.dudau@arm.com>
Tue, 20 Oct 2020 19:51:42 +0000 (20:51 +0100)
commit47170f89f76b28c55f359b4766da41d6b91d9ffe
treedb75a184fe9f00c60b0828fb4f07a3d8add1effd
parent1c831ade9f352d4690e2c3c67b674bc65cb3af3e
drm/fourcc: Add AXBXGXRX106106106106 format

Add ABGR format with 10-bit components packed in 64-bit per pixel.
This format can be used to handle
VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16 on little-endian
architectures.

Signed-off-by: Matteo Franchin <matteo.franchin@arm.com>
Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201012164043.23630-1-matteo.franchin@arm.com
drivers/gpu/drm/drm_fourcc.c
include/uapi/drm/drm_fourcc.h