diff options
author | José Expósito <jose.exposito89@gmail.com> | 2022-06-20 19:06:39 +0300 |
---|---|---|
committer | José Expósito <jose.exposito89@gmail.com> | 2022-06-27 14:45:53 +0300 |
commit | 8f456104915f0f991a2ce059a640b0a6f807e2cd (patch) | |
tree | f242ee187a37f07139d5bcb4cef4ead2c81004f2 /Documentation | |
parent | 84509eede6203bc5ab43ce0361a6ae17e2a17152 (diff) | |
download | linux-8f456104915f0f991a2ce059a640b0a6f807e2cd.tar.xz |
drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb332()
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
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions