]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Expose support for xBGR ordered fp16 formats.
authorMario Kleiner <mario.kleiner.de@gmail.com>
Fri, 15 May 2020 05:19:23 +0000 (07:19 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:46:51 +0000 (12:46 -0400)
commit7d3df55e54c5817b3b7f615082c6f0a58d7952ff
tree9040f12d703294203c43d62ee6320e86c1165584
parent5318f3f5df66182b725226b24054b08ee944d62d
drm/amd/display: Expose support for xBGR ordered fp16 formats.

Expose support for DRM_FORMAT_ABGR16161616F and
DRM_FORMAT_XBGR16161616F to the DRM core, complementing
the already existing xRGB ordered fp16 formats.

These are especially useful for creating presentable
swapchains in Vulkan for VK_FORMAT_R16G16B16A16_SFLOAT.

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c