Re: [PATCH v2 7/7] drm/vkms: Create KUnit tests for YUV conversions

2024-02-01 Thread Louis Chauvet
[...] > + { > + .encoding = DRM_COLOR_YCBCR_BT709, > + .range = DRM_COLOR_YCBCR_FULL_RANGE, > + .n_colors = 4, > + .colors = { > + {"white", {0xff, 0x80, 0x80}, {0x, 0x, 0x, > 0x}}, > + {"g

[PATCH v2 7/7] drm/vkms: Create KUnit tests for YUV conversions

2024-01-10 Thread Arthur Grillo
Create KUnit tests to test the conversion between YUV and RGB. Test each conversion and range combination with some common colors. Signed-off-by: Arthur Grillo --- drivers/gpu/drm/vkms/Kconfig | 15 +++ drivers/gpu/drm/vkms/Makefile | 1 + drivers/gpu/drm/vkms