diff options
author | José Expósito | 2022-06-20 18:06:39 +0200 |
---|---|---|
committer | José Expósito | 2022-06-27 13:45:53 +0200 |
commit | 8f456104915f0f991a2ce059a640b0a6f807e2cd (patch) | |
tree | f242ee187a37f07139d5bcb4cef4ead2c81004f2 /.mailmap | |
parent | 84509eede6203bc5ab43ce0361a6ae17e2a17152 (diff) |
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 '.mailmap')
0 files changed, 0 insertions, 0 deletions