summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2024-03-27 11:57:03 +0100
committerMaxime Ripard <mripard@kernel.org>2024-03-28 11:26:49 +0100
commite075e496f516bf92bc0cbaf94d64e8d4a6b58321 (patch)
tree3fac5a0672dea179a782cd626a2942578a575c74 /drivers/gpu/drm/Kconfig
parentc0e0f139354c01e0213204e4a96e7076e5a3e396 (diff)
downloadlinux-e075e496f516bf92bc0cbaf94d64e8d4a6b58321.tar.gz
linux-e075e496f516bf92bc0cbaf94d64e8d4a6b58321.tar.bz2
linux-e075e496f516bf92bc0cbaf94d64e8d4a6b58321.zip
drm: Switch DRM_DISPLAY_HELPER to depends on
Most of our helpers have relied on being selected so far through Kconfig, but that creates issues when we have multiple layers of helpers with some depending on others. Indeed, select doesn't select a dependency's dependencies, and thus isn't super intuitive. Depends on however doesn't have that limitation, so we can just switch all the drivers that were selecting DRM_DISPLAY_HELPER to depend on it. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://lore.kernel.org/r/20240327-kms-kconfig-helpers-v3-8-eafee11b84b3@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/Kconfig')
-rw-r--r--drivers/gpu/drm/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 16029435b750..1eb939463c35 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -73,10 +73,12 @@ config DRM_KUNIT_TEST_HELPERS
config DRM_KUNIT_TEST
tristate "KUnit tests for DRM" if !KUNIT_ALL_TESTS
- depends on DRM && KUNIT && MMU
+ depends on DRM
+ depends on DRM_DISPLAY_HELPER
+ depends on KUNIT
+ depends on MMU
select DRM_BUDDY
select DRM_DISPLAY_DP_HELPER
- select DRM_DISPLAY_HELPER
select DRM_EXEC
select DRM_EXPORT_FOR_TESTS if m
select DRM_GEM_SHMEM_HELPER