OSDN Git Service

drm/format-helper: Support the AB24/XB24 formats
authorThierry Reding <treding@nvidia.com>
Fri, 20 Jan 2023 17:31:01 +0000 (18:31 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 23 Jan 2023 14:02:41 +0000 (15:02 +0100)
commit9abecb1d338c576bef90dd8c4f58485bc56b64ca
treeb93d585cb0b374065c0fa6f6413eae609a08d8ae
parent9a10c7e6519b3d4c2006b20b1675525b0da07e85
drm/format-helper: Support the AB24/XB24 formats

Add a conversion helper for the AB24 and XB24 formats to use in
drm_fb_blit().

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230120173103.4002342-7-thierry.reding@gmail.com
drivers/gpu/drm/drm_format_helper.c