[PATCH 0/4] KUnit tests for RGB565 conversion
From: José Expósito
Date: Mon Jun 27 2022 - 12:13:18 EST
Hello everyone,
This series is a follow up of the XRGB8888 to RGB332 conversion KUnit tests.
The first 3 patches refactor the existing test to make them agnostic of the target format and add support for "swab".
The last patch adds the RGB565 conversion values, and shows how more formats will be easily added in the future.
Thank you very much in advance for your feedback,
José Expósito
José Expósito (4):
drm/format-helper: Rename test cases to make them more generic
drm/format-helper: Transform tests to be agnostic of target format
drm/format-helper: Add support for conversion functions with swab
drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb565()
.../gpu/drm/tests/drm_format_helper_test.c | 231 +++++++++++++++---
1 file changed, 196 insertions(+), 35 deletions(-)
base-commit: 6fde8eec71796f3534f0c274066862829813b21f
prerequisite-patch-id: 8a16f4c8004d6161035eaea275c8eafaa0ac927e
prerequisite-patch-id: 53fded2a49e6212b546db76ec52563a683752e65
prerequisite-patch-id: 294b0ca27a6ee57096c8f097c0572336b8a2d583
prerequisite-patch-id: 5e05bfc5287d16c207bfc616b2776ad72eb4ab29
prerequisite-patch-id: e94560be85dffb62a5b3cf58d1f0fc3d278ad806
prerequisite-patch-id: a471df39c7b32c69dd2b138a7d0af015ea42e00a
--
2.25.1