[PATCH v2 9/9] drm/vkms: Create KUnit tests for YUV conversions
Louis Chauvet
louis.chauvet at bootlin.com
Tue Feb 27 15:02:13 UTC 2024
Le 26/02/24 - 13:39, Arthur Grillo a écrit :
>
>
> On 23/02/24 08:37, Louis Chauvet wrote:
> > From: Arthur Grillo <arthurgrillo at 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 at riseup.net>
> > [Louis Chauvet: fix minor formating issues (whitespace, double line)]
> > Signed-off-by: Louis Chauvet <louis.chauvet at 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
https://bootlin.com
More information about the dri-devel
mailing list