diff options
author | Maíra Canal <maira.canal@usp.br> | 2022-07-08 17:30:44 -0300 |
---|---|---|
committer | Javier Martinez Canillas <javierm@redhat.com> | 2022-07-11 13:59:50 +0200 |
commit | ba8f16cd081902350e2d2a00afcc6b77b1815d50 (patch) | |
tree | d0c444dc5a2ea0bd8b8ec0a0fbd9b07cc8844694 /drivers/gpu/drm/Kconfig | |
parent | 4d8f68548e982e2c9b9ca3b47aea49c47da93a3d (diff) | |
download | lwn-ba8f16cd081902350e2d2a00afcc6b77b1815d50.tar.gz lwn-ba8f16cd081902350e2d2a00afcc6b77b1815d50.zip |
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
Diffstat (limited to 'drivers/gpu/drm/Kconfig')
-rw-r--r-- | drivers/gpu/drm/Kconfig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 6c2256e8474b..06822ecf51c6 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -72,8 +72,14 @@ config DRM_DEBUG_SELFTEST config DRM_KUNIT_TEST tristate "KUnit tests for DRM" if !KUNIT_ALL_TESTS - depends on DRM && KUNIT=y + depends on DRM && KUNIT + select PRIME_NUMBERS + select DRM_DISPLAY_DP_HELPER + select DRM_DISPLAY_HELPER + select DRM_LIB_RANDOM select DRM_KMS_HELPER + select DRM_BUDDY + select DRM_EXPORT_FOR_TESTS if m default KUNIT_ALL_TESTS help This builds unit tests for DRM. This option is not useful for |