drm: selftest: convert drm_rect selftest to KUnit
authorMaíra Canal <maira.canal@usp.br>
Fri, 8 Jul 2022 20:30:46 +0000 (17:30 -0300)
committerJavier Martinez Canillas <javierm@redhat.com>
Mon, 11 Jul 2022 11:59:55 +0000 (13:59 +0200)
commit93de485cd822d429e91f197a820f02ee57d38fd5
tree60876775dec108d7a970d6dcbca92dfaa6f99d25
parent9f0527d22a52ff3470d8bf0dc79cf42c0677c23c
drm: selftest: convert drm_rect selftest to KUnit

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

Co-developed-by: Carlos Veras <carlos.craveiro@usp.br>
Signed-off-by: Carlos Veras <carlos.craveiro@usp.br>
Co-developed-by: Matheus Vieira <matheus.vieira.g@usp.br>
Signed-off-by: Matheus Vieira <matheus.vieira.g@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-4-maira.canal@usp.br
drivers/gpu/drm/selftests/Makefile
drivers/gpu/drm/selftests/drm_modeset_selftests.h
drivers/gpu/drm/selftests/test-drm_modeset_common.h
drivers/gpu/drm/selftests/test-drm_rect.c [deleted file]
drivers/gpu/drm/tests/Makefile
drivers/gpu/drm/tests/drm_rect_test.c [new file with mode: 0644]