diff options
author | Maxime Ripard <mripard@kernel.org> | 2024-03-27 11:57:03 +0100 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2024-03-28 11:26:49 +0100 |
commit | e075e496f516bf92bc0cbaf94d64e8d4a6b58321 (patch) | |
tree | 3fac5a0672dea179a782cd626a2942578a575c74 /drivers/gpu/drm/radeon | |
parent | drm: Make drivers depends on DRM_DW_HDMI (diff) | |
download | linux-e075e496f516bf92bc0cbaf94d64e8d4a6b58321.tar.xz 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/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/Kconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/Kconfig b/drivers/gpu/drm/radeon/Kconfig index f98356be0af2..07d330450f05 100644 --- a/drivers/gpu/drm/radeon/Kconfig +++ b/drivers/gpu/drm/radeon/Kconfig @@ -2,11 +2,13 @@ config DRM_RADEON tristate "ATI Radeon" - depends on DRM && PCI && MMU depends on AGP || !AGP + depends on DRM + depends on DRM_DISPLAY_HELPER + depends on PCI + depends on MMU select FW_LOADER select DRM_DISPLAY_DP_HELPER - select DRM_DISPLAY_HELPER select DRM_KMS_HELPER select DRM_SUBALLOC_HELPER select DRM_TTM |