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

Louis Chauvet
2024-02-27T15:02:16Z

Le 26/02/24 - 13:39, Arthur Grillo a écrit :
>
>
> On 23/02/24 08:37, Louis Chauvet wrote:
> > From: Arthur Grillo <arthurgrillo@riseup.net>
> >
> > 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 <arthurgrillo@riseup.net>
> > [Louis Chauvet: fix minor formating issues (whitespace, double line)]
> > Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
> > ---
> > drivers/gpu/drm/vkms/Makefile | 1 +
> > drivers/gpu/drm/vkms/tests/.kunitconfig | 4 +
> > drivers/gpu/drm/vkms/tests/Makefile | 3 +
> > drivers/gpu/drm/vkms/tests/vkms_format_test.c | 155 ++++++++++++++++++++++++++
> > drivers/gpu/drm/vkms/vkms_formats.c | 9 +-
> > drivers/gpu/drm/vkms/vkms_formats.h | 5 +
> > 6 files changed, 175 insertions(+), 2 deletions(-)
>
> You need to add the CONFIG_DRM_VKMS_KUNIT_TESTS config to
> drivers/gpu/drm/vkms/Kconfig, like my previous patch did.

I don't know how I merged your patch, but I missed the Kconfig file,
it was not intended, sorry.

Kind regards,
Louis Chauvet

[...]

--
Louis Chauvet, Bootlin
Embedded Linux and Kernel engineering