drm/format-helper: Add Kunit tests for drm_fb_xrgb8888_to_mono()
authorArthur Grillo <arthurgrillo@riseup.net>
Sat, 11 Mar 2023 12:51:40 +0000 (09:51 -0300)
committerJavier Martinez Canillas <javierm@redhat.com>
Thu, 16 Mar 2023 19:35:49 +0000 (20:35 +0100)
commit00000922a33d4adb06a947621f553cae12363083
treec3d93e71fd1a8ac7b0096d2344f385099ea6fedd
parentb24343eaceedb902c1625854f85a193b0549d85f
drm/format-helper: Add Kunit tests for drm_fb_xrgb8888_to_mono()

Extend the existing test cases to test the conversion from XRGB8888 to
monochromatic.

Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230311125141.564801-2-arthurgrillo@riseup.net
drivers/gpu/drm/tests/drm_format_helper_test.c