Commit e075e496 authored by Maxime Ripard's avatar Maxime Ripard

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: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20240327-kms-kconfig-helpers-v3-8-eafee11b84b3@kernel.orgSigned-off-by: default avatarMaxime Ripard <mripard@kernel.org>
parent c0e0f139
...@@ -73,10 +73,12 @@ config DRM_KUNIT_TEST_HELPERS ...@@ -73,10 +73,12 @@ config DRM_KUNIT_TEST_HELPERS
config DRM_KUNIT_TEST config DRM_KUNIT_TEST
tristate "KUnit tests for DRM" if !KUNIT_ALL_TESTS 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_BUDDY
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_EXEC select DRM_EXEC
select DRM_EXPORT_FOR_TESTS if m select DRM_EXPORT_FOR_TESTS if m
select DRM_GEM_SHMEM_HELPER select DRM_GEM_SHMEM_HELPER
......
...@@ -2,13 +2,15 @@ ...@@ -2,13 +2,15 @@
config DRM_AMDGPU config DRM_AMDGPU
tristate "AMD GPU" tristate "AMD GPU"
depends on DRM && PCI && MMU depends on DRM
depends on DRM_DISPLAY_HELPER
depends on MMU
depends on PCI
depends on !UML depends on !UML
select FW_LOADER select FW_LOADER
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HDMI_HELPER select DRM_DISPLAY_HDMI_HELPER
select DRM_DISPLAY_HDCP_HELPER select DRM_DISPLAY_HDCP_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_SCHED select DRM_SCHED
select DRM_TTM select DRM_TTM
......
...@@ -92,10 +92,10 @@ config DRM_FSL_LDB ...@@ -92,10 +92,10 @@ config DRM_FSL_LDB
config DRM_ITE_IT6505 config DRM_ITE_IT6505
tristate "ITE IT6505 DisplayPort bridge" tristate "ITE IT6505 DisplayPort bridge"
depends on DRM_DISPLAY_HELPER
depends on OF depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HDCP_HELPER select DRM_DISPLAY_HDCP_HELPER
select DRM_DISPLAY_HELPER
select DRM_DISPLAY_DP_AUX_BUS select DRM_DISPLAY_DP_AUX_BUS
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_DP_HELPER select DRM_DP_HELPER
...@@ -226,9 +226,9 @@ config DRM_PARADE_PS8622 ...@@ -226,9 +226,9 @@ config DRM_PARADE_PS8622
config DRM_PARADE_PS8640 config DRM_PARADE_PS8640
tristate "Parade PS8640 MIPI DSI to eDP Converter" tristate "Parade PS8640 MIPI DSI to eDP Converter"
depends on DRM_DISPLAY_HELPER
depends on OF depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_DISPLAY_DP_AUX_BUS select DRM_DISPLAY_DP_AUX_BUS
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_MIPI_DSI select DRM_MIPI_DSI
...@@ -313,9 +313,9 @@ config DRM_TOSHIBA_TC358764 ...@@ -313,9 +313,9 @@ config DRM_TOSHIBA_TC358764
config DRM_TOSHIBA_TC358767 config DRM_TOSHIBA_TC358767
tristate "Toshiba TC358767 eDP bridge" tristate "Toshiba TC358767 eDP bridge"
depends on DRM_DISPLAY_HELPER
depends on OF depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select REGMAP_I2C select REGMAP_I2C
select DRM_MIPI_DSI select DRM_MIPI_DSI
...@@ -336,9 +336,9 @@ config DRM_TOSHIBA_TC358768 ...@@ -336,9 +336,9 @@ config DRM_TOSHIBA_TC358768
config DRM_TOSHIBA_TC358775 config DRM_TOSHIBA_TC358775
tristate "Toshiba TC358775 DSI/LVDS bridge" tristate "Toshiba TC358775 DSI/LVDS bridge"
depends on DRM_DISPLAY_HELPER
depends on OF depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select REGMAP_I2C select REGMAP_I2C
select DRM_PANEL select DRM_PANEL
...@@ -381,9 +381,9 @@ config DRM_TI_SN65DSI83 ...@@ -381,9 +381,9 @@ config DRM_TI_SN65DSI83
config DRM_TI_SN65DSI86 config DRM_TI_SN65DSI86
tristate "TI SN65DSI86 DSI to eDP bridge" tristate "TI SN65DSI86 DSI to eDP bridge"
depends on DRM_DISPLAY_HELPER
depends on OF depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select REGMAP_I2C select REGMAP_I2C
select DRM_PANEL select DRM_PANEL
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config DRM_ANALOGIX_ANX6345 config DRM_ANALOGIX_ANX6345
tristate "Analogix ANX6345 bridge" tristate "Analogix ANX6345 bridge"
depends on DRM_DISPLAY_HELPER
depends on OF depends on OF
select DRM_ANALOGIX_DP select DRM_ANALOGIX_DP
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select REGMAP_I2C select REGMAP_I2C
help help
...@@ -15,9 +15,9 @@ config DRM_ANALOGIX_ANX6345 ...@@ -15,9 +15,9 @@ config DRM_ANALOGIX_ANX6345
config DRM_ANALOGIX_ANX78XX config DRM_ANALOGIX_ANX78XX
tristate "Analogix ANX78XX bridge" tristate "Analogix ANX78XX bridge"
depends on DRM_DISPLAY_HELPER
select DRM_ANALOGIX_DP select DRM_ANALOGIX_DP
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select REGMAP_I2C select REGMAP_I2C
help help
...@@ -33,10 +33,10 @@ config DRM_ANALOGIX_DP ...@@ -33,10 +33,10 @@ config DRM_ANALOGIX_DP
config DRM_ANALOGIX_ANX7625 config DRM_ANALOGIX_ANX7625
tristate "Analogix Anx7625 MIPI to DP interface support" tristate "Analogix Anx7625 MIPI to DP interface support"
depends on DRM depends on DRM
depends on DRM_DISPLAY_HELPER
depends on OF depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HDCP_HELPER select DRM_DISPLAY_HDCP_HELPER
select DRM_DISPLAY_HELPER
select DRM_DISPLAY_DP_AUX_BUS select DRM_DISPLAY_DP_AUX_BUS
select DRM_MIPI_DSI select DRM_MIPI_DSI
help help
......
...@@ -23,12 +23,12 @@ endif ...@@ -23,12 +23,12 @@ endif
config DRM_CDNS_MHDP8546 config DRM_CDNS_MHDP8546
tristate "Cadence DPI/DP bridge" tristate "Cadence DPI/DP bridge"
depends on DRM_DISPLAY_HELPER
depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HDCP_HELPER select DRM_DISPLAY_HDCP_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_PANEL_BRIDGE select DRM_PANEL_BRIDGE
depends on OF
help help
Support Cadence DPI to DP bridge. This is an internal Support Cadence DPI to DP bridge. This is an internal
bridge and is meant to be directly embedded in a SoC. bridge and is meant to be directly embedded in a SoC.
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config DRM_DW_HDMI config DRM_DW_HDMI
tristate tristate
depends on DRM_DISPLAY_HELPER
select DRM_DISPLAY_HDMI_HELPER select DRM_DISPLAY_HDMI_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select REGMAP_MMIO select REGMAP_MMIO
select CEC_CORE if CEC_NOTIFIER select CEC_CORE if CEC_NOTIFIER
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
config DRM_DISPLAY_HELPER config DRM_DISPLAY_HELPER
tristate "DRM Display Helpers" tristate "DRM Display Helpers"
depends on DRM depends on DRM
default y
help help
DRM helpers for display adapters. DRM helpers for display adapters.
......
...@@ -4,7 +4,6 @@ config DRM_EXYNOS ...@@ -4,7 +4,6 @@ config DRM_EXYNOS
depends on OF && DRM && COMMON_CLK depends on OF && DRM && COMMON_CLK
depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST depends on ARCH_S3C64XX || ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
depends on MMU depends on MMU
select DRM_DISPLAY_HELPER if DRM_EXYNOS_DP
select DRM_KMS_HELPER select DRM_KMS_HELPER
select VIDEOMODE_HELPERS select VIDEOMODE_HELPERS
select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION select FB_DMAMEM_HELPERS if DRM_FBDEV_EMULATION
...@@ -68,6 +67,7 @@ config DRM_EXYNOS_DSI ...@@ -68,6 +67,7 @@ config DRM_EXYNOS_DSI
config DRM_EXYNOS_DP config DRM_EXYNOS_DP
bool "Exynos specific extensions for Analogix DP driver" bool "Exynos specific extensions for Analogix DP driver"
depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON depends on DRM_EXYNOS_FIMD || DRM_EXYNOS7_DECON
depends on DRM_DISPLAY_HELPER
select DRM_ANALOGIX_DP select DRM_ANALOGIX_DP
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
default DRM_EXYNOS default DRM_EXYNOS
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
config DRM_I915 config DRM_I915
tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics" tristate "Intel 8xx/9xx/G3x/G4x/HD Graphics"
depends on DRM depends on DRM
depends on DRM_DISPLAY_HELPER
depends on X86 && PCI depends on X86 && PCI
depends on !PREEMPT_RT depends on !PREEMPT_RT
select INTEL_GTT if X86 select INTEL_GTT if X86
...@@ -13,7 +14,6 @@ config DRM_I915 ...@@ -13,7 +14,6 @@ config DRM_I915
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HDCP_HELPER select DRM_DISPLAY_HDCP_HELPER
select DRM_DISPLAY_HDMI_HELPER select DRM_DISPLAY_HDMI_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_PANEL select DRM_PANEL
select DRM_MIPI_DSI select DRM_MIPI_DSI
......
...@@ -22,9 +22,9 @@ config DRM_MEDIATEK ...@@ -22,9 +22,9 @@ config DRM_MEDIATEK
config DRM_MEDIATEK_DP config DRM_MEDIATEK_DP
tristate "DRM DPTX Support for MediaTek SoCs" tristate "DRM DPTX Support for MediaTek SoCs"
depends on DRM_DISPLAY_HELPER
depends on DRM_MEDIATEK depends on DRM_MEDIATEK
select PHY_MTK_DP select PHY_MTK_DP
select DRM_DISPLAY_HELPER
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_DP_AUX_BUS select DRM_DISPLAY_DP_AUX_BUS
help help
......
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
config DRM_MSM config DRM_MSM
tristate "MSM DRM" tristate "MSM DRM"
depends on DRM
depends on ARCH_QCOM || SOC_IMX5 || COMPILE_TEST depends on ARCH_QCOM || SOC_IMX5 || COMPILE_TEST
depends on COMMON_CLK depends on COMMON_CLK
depends on DRM
depends on DRM_DISPLAY_HELPER
depends on IOMMU_SUPPORT depends on IOMMU_SUPPORT
depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n
depends on QCOM_OCMEM || QCOM_OCMEM=n depends on QCOM_OCMEM || QCOM_OCMEM=n
...@@ -16,7 +17,6 @@ config DRM_MSM ...@@ -16,7 +17,6 @@ config DRM_MSM
select REGULATOR select REGULATOR
select DRM_DISPLAY_DP_AUX_BUS select DRM_DISPLAY_DP_AUX_BUS
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_EXEC select DRM_EXEC
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_PANEL select DRM_PANEL
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config DRM_NOUVEAU config DRM_NOUVEAU
tristate "Nouveau (NVIDIA) cards" tristate "Nouveau (NVIDIA) cards"
depends on DRM && PCI && MMU depends on DRM
depends on DRM_DISPLAY_HELPER
depends on PCI
depends on MMU
select IOMMU_API select IOMMU_API
select FW_LOADER select FW_LOADER
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HDMI_HELPER select DRM_DISPLAY_HDMI_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_TTM select DRM_TTM
select DRM_TTM_HELPER select DRM_TTM_HELPER
......
...@@ -533,11 +533,11 @@ config DRM_PANEL_RAYDIUM_RM68200 ...@@ -533,11 +533,11 @@ config DRM_PANEL_RAYDIUM_RM68200
config DRM_PANEL_RAYDIUM_RM692E5 config DRM_PANEL_RAYDIUM_RM692E5
tristate "Raydium RM692E5-based DSI panel" tristate "Raydium RM692E5-based DSI panel"
depends on OF
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE depends on BACKLIGHT_CLASS_DEVICE
depends on DRM_DISPLAY_HELPER
depends on DRM_MIPI_DSI
depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
help help
Say Y here if you want to enable support for Raydium RM692E5-based Say Y here if you want to enable support for Raydium RM692E5-based
display panels, such as the one found in the Fairphone 5 smartphone. display panels, such as the one found in the Fairphone 5 smartphone.
...@@ -559,11 +559,11 @@ config DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01 ...@@ -559,11 +559,11 @@ config DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01
config DRM_PANEL_SAMSUNG_ATNA33XC20 config DRM_PANEL_SAMSUNG_ATNA33XC20
tristate "Samsung ATNA33XC20 eDP panel" tristate "Samsung ATNA33XC20 eDP panel"
depends on OF
depends on BACKLIGHT_CLASS_DEVICE depends on BACKLIGHT_CLASS_DEVICE
depends on DRM_DISPLAY_HELPER
depends on OF
depends on PM depends on PM
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_DISPLAY_DP_AUX_BUS select DRM_DISPLAY_DP_AUX_BUS
help help
DRM panel driver for the Samsung ATNA33XC20 panel. This panel can't DRM panel driver for the Samsung ATNA33XC20 panel. This panel can't
...@@ -799,12 +799,12 @@ config DRM_PANEL_STARTEK_KD070FHFID015 ...@@ -799,12 +799,12 @@ config DRM_PANEL_STARTEK_KD070FHFID015
config DRM_PANEL_EDP config DRM_PANEL_EDP
tristate "support for simple Embedded DisplayPort panels" tristate "support for simple Embedded DisplayPort panels"
depends on OF
depends on BACKLIGHT_CLASS_DEVICE depends on BACKLIGHT_CLASS_DEVICE
depends on DRM_DISPLAY_HELPER
depends on OF
depends on PM depends on PM
select VIDEOMODE_HELPERS select VIDEOMODE_HELPERS
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_DISPLAY_DP_AUX_BUS select DRM_DISPLAY_DP_AUX_BUS
select DRM_KMS_HELPER select DRM_KMS_HELPER
help help
...@@ -879,11 +879,11 @@ config DRM_PANEL_TRULY_NT35597_WQXGA ...@@ -879,11 +879,11 @@ config DRM_PANEL_TRULY_NT35597_WQXGA
config DRM_PANEL_VISIONOX_R66451 config DRM_PANEL_VISIONOX_R66451
tristate "Visionox R66451" tristate "Visionox R66451"
depends on OF
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE depends on BACKLIGHT_CLASS_DEVICE
depends on DRM_DISPLAY_HELPER
depends on DRM_MIPI_DSI
depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
help help
Say Y here if you want to enable support for Visionox Say Y here if you want to enable support for Visionox
R66451 1080x2340 AMOLED DSI panel. R66451 1080x2340 AMOLED DSI panel.
......
...@@ -2,11 +2,13 @@ ...@@ -2,11 +2,13 @@
config DRM_RADEON config DRM_RADEON
tristate "ATI Radeon" tristate "ATI Radeon"
depends on DRM && PCI && MMU
depends on AGP || !AGP depends on AGP || !AGP
depends on DRM
depends on DRM_DISPLAY_HELPER
depends on PCI
depends on MMU
select FW_LOADER select FW_LOADER
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_SUBALLOC_HELPER select DRM_SUBALLOC_HELPER
select DRM_TTM select DRM_TTM
......
...@@ -35,8 +35,8 @@ config ROCKCHIP_VOP2 ...@@ -35,8 +35,8 @@ config ROCKCHIP_VOP2
config ROCKCHIP_ANALOGIX_DP config ROCKCHIP_ANALOGIX_DP
bool "Rockchip specific extensions for Analogix DP driver" bool "Rockchip specific extensions for Analogix DP driver"
depends on DRM_DISPLAY_HELPER
depends on ROCKCHIP_VOP depends on ROCKCHIP_VOP
select DRM_DISPLAY_HELPER
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
help help
This selects support for Rockchip SoC specific extensions This selects support for Rockchip SoC specific extensions
...@@ -45,8 +45,8 @@ config ROCKCHIP_ANALOGIX_DP ...@@ -45,8 +45,8 @@ config ROCKCHIP_ANALOGIX_DP
config ROCKCHIP_CDN_DP config ROCKCHIP_CDN_DP
bool "Rockchip cdn DP" bool "Rockchip cdn DP"
depends on DRM_DISPLAY_HELPER
depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m) depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
select DRM_DISPLAY_HELPER
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
help help
This selects support for Rockchip SoC specific extensions This selects support for Rockchip SoC specific extensions
......
...@@ -4,10 +4,10 @@ config DRM_TEGRA ...@@ -4,10 +4,10 @@ config DRM_TEGRA
depends on ARCH_TEGRA || COMPILE_TEST depends on ARCH_TEGRA || COMPILE_TEST
depends on COMMON_CLK depends on COMMON_CLK
depends on DRM depends on DRM
depends on DRM_DISPLAY_HELPER
depends on OF depends on OF
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HDMI_HELPER select DRM_DISPLAY_HDMI_HELPER
select DRM_DISPLAY_HELPER
select DRM_DISPLAY_DP_AUX_BUS select DRM_DISPLAY_DP_AUX_BUS
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_MIPI_DSI select DRM_MIPI_DSI
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
config DRM_VC4 config DRM_VC4
tristate "Broadcom VC4 Graphics" tristate "Broadcom VC4 Graphics"
depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
depends on COMMON_CLK
depends on DRM
depends on DRM_DISPLAY_HELPER
depends on PM
# Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
# happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE. # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE) depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
depends on DRM
depends on SND && SND_SOC depends on SND && SND_SOC
depends on COMMON_CLK
depends on PM
select DRM_DISPLAY_HDMI_HELPER select DRM_DISPLAY_HDMI_HELPER
select DRM_DISPLAY_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select DRM_GEM_DMA_HELPER select DRM_GEM_DMA_HELPER
select DRM_PANEL_BRIDGE select DRM_PANEL_BRIDGE
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
config DRM_XE config DRM_XE
tristate "Intel Xe Graphics" tristate "Intel Xe Graphics"
depends on DRM && PCI && MMU && (m || (y && KUNIT=y)) depends on (m || (y && KUNIT=y))
depends on DRM
depends on DRM_DISPLAY_HELPER
depends on MMU
depends on PCI
select INTERVAL_TREE select INTERVAL_TREE
# we need shmfs for the swappable backing store, and in particular # we need shmfs for the swappable backing store, and in particular
# the shmem_readpage() which depends upon tmpfs # the shmem_readpage() which depends upon tmpfs
...@@ -16,7 +20,6 @@ config DRM_XE ...@@ -16,7 +20,6 @@ config DRM_XE
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HDCP_HELPER select DRM_DISPLAY_HDCP_HELPER
select DRM_DISPLAY_HDMI_HELPER select DRM_DISPLAY_HDMI_HELPER
select DRM_DISPLAY_HELPER
select DRM_MIPI_DSI select DRM_MIPI_DSI
select RELAY select RELAY
select IRQ_WORK select IRQ_WORK
......
config DRM_ZYNQMP_DPSUB config DRM_ZYNQMP_DPSUB
tristate "ZynqMP DisplayPort Controller Driver" tristate "ZynqMP DisplayPort Controller Driver"
depends on ARCH_ZYNQMP || COMPILE_TEST depends on ARCH_ZYNQMP || COMPILE_TEST
depends on COMMON_CLK && DRM && OF depends on COMMON_CLK
depends on DMADEVICES depends on DMADEVICES
depends on DRM
depends on DRM_DISPLAY_HELPER
depends on OF
depends on PHY_XILINX_ZYNQMP depends on PHY_XILINX_ZYNQMP
depends on XILINX_ZYNQMP_DPDMA depends on XILINX_ZYNQMP_DPDMA
select DMA_ENGINE select DMA_ENGINE
select DRM_DISPLAY_DP_HELPER select DRM_DISPLAY_DP_HELPER
select DRM_DISPLAY_HELPER
select DRM_GEM_DMA_HELPER select DRM_GEM_DMA_HELPER
select DRM_KMS_HELPER select DRM_KMS_HELPER
select GENERIC_PHY select GENERIC_PHY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment