drm: selftest: convert drm_damage_helper selftest to KUnit
authorMaíra Canal <maira.canal@usp.br>
Fri, 8 Jul 2022 20:30:44 +0000 (17:30 -0300)
committerJavier Martinez Canillas <javierm@redhat.com>
Mon, 11 Jul 2022 11:59:50 +0000 (13:59 +0200)
commitba8f16cd081902350e2d2a00afcc6b77b1815d50
treed0c444dc5a2ea0bd8b8ec0a0fbd9b07cc8844694
parent4d8f68548e982e2c9b9ca3b47aea49c47da93a3d
drm: selftest: convert drm_damage_helper selftest to KUnit

Considering the current adoption of the KUnit framework, convert the
DRM damage helper selftest to the KUnit API.

Co-developed-by: Arthur Grillo <arthur.grillo@usp.br>
Signed-off-by: Arthur Grillo <arthur.grillo@usp.br>
Tested-by: David Gow <davidgow@google.com>
Acked-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Maíra Canal <maira.canal@usp.br>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220708203052.236290-2-maira.canal@usp.br
drivers/gpu/drm/Kconfig
drivers/gpu/drm/selftests/Makefile
drivers/gpu/drm/selftests/drm_modeset_selftests.h
drivers/gpu/drm/selftests/test-drm_damage_helper.c [deleted file]
drivers/gpu/drm/selftests/test-drm_modeset_common.h
drivers/gpu/drm/tests/Makefile
drivers/gpu/drm/tests/drm_damage_helper_test.c [new file with mode: 0644]