Skip to content

Commit f1a7851

Browse files
drobnikmripard
authored andcommitted
drm/tests: Build KMS helpers when DRM_KUNIT_TEST_HELPERS is enabled
Commit 6667194 ("drm/tests: helpers: Add atomic helpers") introduced a dependency on CRTC helpers in KUnit test helpers. Select the former when building KUnit test helpers to avoid linker errors. Fixes: 6667194 ("drm/tests: helpers: Add atomic helpers") Cc: Maxime Ripard <[email protected]> Cc: Maíra Canal <[email protected]> Signed-off-by: Karolina Stolarek <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
1 parent 6d5501d commit f1a7851

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ config DRM_USE_DYNAMIC_DEBUG
6868
config DRM_KUNIT_TEST_HELPERS
6969
tristate
7070
depends on DRM && KUNIT
71+
select DRM_KMS_HELPER
7172
help
7273
KUnit Helpers for KMS drivers.
7374

@@ -80,7 +81,6 @@ config DRM_KUNIT_TEST
8081
select DRM_EXEC
8182
select DRM_EXPORT_FOR_TESTS if m
8283
select DRM_GEM_SHMEM_HELPER
83-
select DRM_KMS_HELPER
8484
select DRM_KUNIT_TEST_HELPERS
8585
select DRM_LIB_RANDOM
8686
select PRIME_NUMBERS

0 commit comments

Comments
 (0)