]> Gentwo Git Trees - linux/.git/commit
drm/vkms: Create helper macro for YUV formats
authorLouis Chauvet <louis.chauvet@bootlin.com>
Thu, 3 Jul 2025 07:57:03 +0000 (09:57 +0200)
committerLouis Chauvet <louis.chauvet@bootlin.com>
Fri, 5 Sep 2025 17:57:26 +0000 (19:57 +0200)
commit9e6600e9d3683cdf0196fde7439dba4c50946906
tree9d6f3e414ec7023b0e54eef807e5e19a0ba70730
parent7766ae8de472be3e0167cf3652e6ae8d74ef0221
drm/vkms: Create helper macro for YUV formats

The callback functions for line conversion are almost identical for
semi-planar formats. The generic READ_LINE_YUV_SEMIPLANAR macro
generate all the required boilerplate to process a line from a
semi-planar format.

Reviewed-by: MaĆ­ra Canal <mcanal@igalia.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Link: https://lore.kernel.org/r/20250703-b4-new-color-formats-v7-7-15fd8fd2e15c@bootlin.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
drivers/gpu/drm/vkms/vkms_formats.c