]> git.baikalelectronics.ru Git - kernel.git/commit
drm/fourcc: Add 16 bpc fixed point framebuffer formats.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Fri, 19 Mar 2021 21:03:13 +0000 (22:03 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 May 2021 19:00:47 +0000 (15:00 -0400)
commit321b33c5d71300aa38ab0e1b73a8a23309b94b3b
tree005524da049dbc9aea995e942d70f977b5382815
parentf9182ccba2670e3037a6c2dbf1e922a500d6bf68
drm/fourcc: Add 16 bpc fixed point framebuffer formats.

These are 16 bits per color channel unsigned normalized formats.
They are supported by at least AMD display hw, and suitable for
direct scanout of Vulkan swapchain images in the format
VK_FORMAT_R16G16B16A16_UNORM.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_fourcc.c
include/uapi/drm/drm_fourcc.h