mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-07 11:53:45 +00:00
DRM_DW_HDMI has a number of dependencies that might not be enabled.
However, drivers were used to selecting it while not enforcing the
DRM_DW_HDMI dependencies.
This could result in Kconfig warnings (and further build breakages) such
as:
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for DRM_DW_HDMI
Depends on [n]: HAS_IOMEM [=y] && DRM [=m] && DRM_BRIDGE [=y] && DRM_DISPLAY_HELPER [=n]
Selected by [m]:
- DRM_SUN8I_DW_HDMI [=m] && HAS_IOMEM [=y] && DRM_SUN4I [=m]
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403262127.kZkttfNz-lkp@intel.com/
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20240327-kms-kconfig-helpers-v3-7-eafee11b84b3@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
27 lines
778 B
Plaintext
27 lines
778 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_MESON
|
|
tristate "DRM Support for Amlogic Meson Display Controller"
|
|
depends on DRM && OF && (ARM || ARM64)
|
|
depends on ARCH_MESON || COMPILE_TEST
|
|
select DRM_KMS_HELPER
|
|
select DRM_GEM_DMA_HELPER
|
|
select DRM_DISPLAY_CONNECTOR
|
|
select VIDEOMODE_HELPERS
|
|
select REGMAP_MMIO
|
|
select MESON_CANVAS
|
|
select CEC_CORE if CEC_NOTIFIER
|
|
|
|
config DRM_MESON_DW_HDMI
|
|
tristate "HDMI Synopsys Controller support for Amlogic Meson Display"
|
|
depends on DRM_DW_HDMI
|
|
depends on DRM_MESON
|
|
default y if DRM_MESON
|
|
imply DRM_DW_HDMI_I2S_AUDIO
|
|
|
|
config DRM_MESON_DW_MIPI_DSI
|
|
tristate "MIPI DSI Synopsys Controller support for Amlogic Meson Display"
|
|
depends on DRM_MESON
|
|
default y if DRM_MESON
|
|
select DRM_DW_MIPI_DSI
|
|
select GENERIC_PHY_MIPI_DPHY
|