+16
−0
+1
−0
drivers/gpu/drm/tests/.kunitconfig
0 → 100644
+3
−0
drivers/gpu/drm/tests/Makefile
0 → 100644
+3
−0
+161
−0
Loading
Test the conversion from XRGB8888 to RGB332.
What is tested?
- Different values for the X in XRGB8888 to make sure it is ignored
- Different clip values: Single pixel and full and partial buffer
- Well known colors: White, black, red, green, blue, magenta, yellow
and cyan
- Other colors: Randomly picked
- Destination pitch
How to run the tests?
$ ./tools/testing/kunit/kunit.py run --kunitconfig=drivers/gpu/drm/tests \
--kconfig_add CONFIG_VIRTIO_UML=y \
--kconfig_add CONFIG_UML_PCI_OVER_VIRTIO=y
Suggested-by:
Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by:
Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by:
David Gow <davidgow@google.com>
Acked-by:
Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by:
José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220620160640.3790-3-jose.exposito89@gmail.com