[PATCH v2 0/2] drm/format-helper: Add Kunit tests for drm_fb_xrgb8888_to_mono()
Arthur Grillo
arthurgrillo at riseup.net
Fri Mar 10 20:08:59 UTC 2023
This patchset aims to insert a unit test for the conversion from
XRGB8888 to monochromatic.
Previously this was a single patch, but as the changes grew from v1 to
v2, I thought it would be better to split it in two.
Thanks for reviewing!
Best regards,
~Arthur Grillo
---
v1->v2: https://lore.kernel.org/all/20230302200131.754154-1-arthurgrillo@riseup.net/
- Remove extra helper an use the existing one that Javier patched [1].
- Make the expected results more intuitive by using the BIT macro.
- Change the "destination_pitch" test case colors.
---
[1]: https://lore.kernel.org/all/20230307215039.346863-1-javierm@redhat.com/
---
Arthur Grillo (2):
drm/format-helper: Add Kunit tests for drm_fb_xrgb8888_to_mono()
drm/format-helper: Make "destination_pitch" test case usable for the
monochrome case
.../gpu/drm/tests/drm_format_helper_test.c | 134 +++++++++++++-----
1 file changed, 98 insertions(+), 36 deletions(-)
--
2.39.2
More information about the dri-devel
mailing list