mirror of
https://github.com/torvalds/linux.git
synced 2026-04-23 00:55:48 -04:00
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_DP_HELPER to depend on it. Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://lore.kernel.org/r/20240327-kms-kconfig-helpers-v3-10-eafee11b84b3@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_MEDIATEK
|
|
tristate "DRM Support for Mediatek SoCs"
|
|
depends on DRM
|
|
depends on ARCH_MEDIATEK || (ARM && COMPILE_TEST)
|
|
depends on COMMON_CLK
|
|
depends on HAVE_ARM_SMCCC
|
|
depends on OF
|
|
depends on MTK_MMSYS
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL
|
|
select MEMORY
|
|
select MTK_SMI
|
|
select PHY_MTK_MIPI_DSI
|
|
select VIDEOMODE_HELPERS
|
|
help
|
|
Choose this option if you have a Mediatek SoCs.
|
|
The module will be called mediatek-drm
|
|
This driver provides kernel mode setting and
|
|
buffer management to userspace.
|
|
|
|
config DRM_MEDIATEK_DP
|
|
tristate "DRM DPTX Support for MediaTek SoCs"
|
|
depends on DRM_DISPLAY_DP_AUX_BUS
|
|
depends on DRM_DISPLAY_DP_HELPER
|
|
depends on DRM_DISPLAY_HELPER
|
|
depends on DRM_MEDIATEK
|
|
select PHY_MTK_DP
|
|
help
|
|
DRM/KMS Display Port driver for MediaTek SoCs.
|
|
|
|
config DRM_MEDIATEK_HDMI
|
|
tristate "DRM HDMI Support for Mediatek SoCs"
|
|
depends on DRM_MEDIATEK
|
|
select SND_SOC_HDMI_CODEC if SND_SOC
|
|
select PHY_MTK_HDMI
|
|
help
|
|
DRM/KMS HDMI driver for Mediatek SoCs
|