drm/tests: Add KUnit tests for drm_fb_build_fourcc_list()
authorArthur Grillo <arthurgrillo@riseup.net>
Mon, 14 Aug 2023 22:12:03 +0000 (19:12 -0300)
committerMaíra Canal <mairacanal@riseup.net>
Sat, 26 Aug 2023 14:36:17 +0000 (11:36 -0300)
commit371e0b186a13558228f07a5cfdaa516e0dd875ce
treee6061e09282eeb1512058ec4ca2540be15aea2d5
parentc6099d7ed3db22ff5de791090e2f6fa6372a20da
drm/tests: Add KUnit tests for drm_fb_build_fourcc_list()

Insert parameterized test for the drm_fb_build_fourcc_list() to ensure
correctness and prevent future regressions.

Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230814-gsoc-drm-format-test-v2-v3-4-bd3e9f9bc2fb@riseup.net
drivers/gpu/drm/tests/drm_format_helper_test.c