OSDN Git Service

drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb888()
authorJosé Expósito <jose.exposito89@gmail.com>
Mon, 26 Sep 2022 08:08:35 +0000 (10:08 +0200)
committerJosé Expósito <jose.exposito89@gmail.com>
Tue, 27 Sep 2022 17:41:50 +0000 (19:41 +0200)
commitf3f716ae5d827fbbdf994c9d5b05d05fe33c8ced
tree4b734280a4ee4a94ce0ae4f136dbd0ffa5e4b6f0
parent2f24fe8c54cc8d7e3432c17988ded0fffb192c1f
drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb888()

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

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-2-jose.exposito89@gmail.com
drivers/gpu/drm/tests/drm_format_helper_test.c