drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_gray8()
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 26 Sep 2022 08:08:37 +0000 (10:08 +0200)
committerJosé Expósito <jose.exposito89@gmail.com>
Tue, 27 Sep 2022 17:41:52 +0000 (19:41 +0200)
commit45eb009f8d1d3cc38de9c3b5be20301a2aa9cec0
tree3bf63f3e33d71fbb254676ae5e29b5a3ccacd490
parent453114319699b6bec2f2ab9bd87617ba25f6215e
drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_gray8()

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

Tested-by: Maíra Canal <mairacanal@riseup.net>
Reviewed-by: David Gow <davidgow@google.com>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220926080837.65734-4-jose.exposito89@gmail.com
drivers/gpu/drm/tests/drm_format_helper_test.c