drm/format-helper: Rename test cases to make them more generic
authorJosé Expósito <jose.exposito89@gmail.com>
Tue, 26 Jul 2022 23:09:14 +0000 (01:09 +0200)
committerJosé Expósito <jose.exposito89@gmail.com>
Thu, 28 Jul 2022 16:36:44 +0000 (18:36 +0200)
commit696560d43b4b07b58cf8604a9b186b32159164d9
treed4d4e6378606fe37f57fea9bf37211782bb07732
parent18c8485236a5e3f491b670c018ae391c9cb84dfa
drm/format-helper: Rename test cases to make them more generic

The tests available at the moment only check the conversion from
XRGB8888 to RGB332. However, more conversions will be tested in the
future.

In order to make the struct and functions present in the tests more
generic, rename xrgb8888_to_rgb332_* to convert_xrgb8888_*.

Tested-by: Tales L. Aparecida <tales.aparecida@gmail.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220726230916.390575-3-jose.exposito89@gmail.com
drivers/gpu/drm/tests/drm_format_helper_test.c