aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolina Stolarek <[email protected]>2024-03-13 15:21:42 +0100
committerMaxime Ripard <[email protected]>2024-03-15 10:31:09 +0100
commitf1a785101d50f5844ed29341142e7224b87f705d (patch)
treea87d4476aa1bd61b5f57aa5f9450923f4bfcc421
parent6d5501d59cf659651e100fc4c5617d444c22ba74 (diff)
drm/tests: Build KMS helpers when DRM_KUNIT_TEST_HELPERS is enabled
Commit 66671944e176 ("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: 66671944e176 ("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]>
-rw-r--r--drivers/gpu/drm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 872edb47bb53..ba45c998b9f8 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -68,6 +68,7 @@ config DRM_USE_DYNAMIC_DEBUG
config DRM_KUNIT_TEST_HELPERS
tristate
depends on DRM && KUNIT
+ select DRM_KMS_HELPER
help
KUnit Helpers for KMS drivers.
@@ -80,7 +81,6 @@ config DRM_KUNIT_TEST
select DRM_EXEC
select DRM_EXPORT_FOR_TESTS if m
select DRM_GEM_SHMEM_HELPER
- select DRM_KMS_HELPER
select DRM_KUNIT_TEST_HELPERS
select DRM_LIB_RANDOM
select PRIME_NUMBERS