diff options
author | José Expósito <[email protected]> | 2022-06-20 18:06:39 +0200 |
---|---|---|
committer | José Expósito <[email protected]> | 2022-06-27 13:45:53 +0200 |
commit | 8f456104915f0f991a2ce059a640b0a6f807e2cd (patch) | |
tree | f242ee187a37f07139d5bcb4cef4ead2c81004f2 /include/linux/fpga/fpga-mgr.h | |
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 <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Reviewed-by: David Gow <[email protected]>
Acked-by: Thomas Zimmermann <[email protected]>
Signed-off-by: José Expósito <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions