Unverified Commit c0e0f139 authored by Maxime Ripard's avatar Maxime Ripard
Browse files

drm: Make drivers depends on DRM_DW_HDMI



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: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202403262127.kZkttfNz-lkp@intel.com/


Acked-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20240327-kms-kconfig-helpers-v3-7-eafee11b84b3@kernel.org


Signed-off-by: default avatarMaxime Ripard <mripard@kernel.org>
parent d674858f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5,9 +5,9 @@ config DRM_IMX_LDB_HELPER

config DRM_IMX8MP_DW_HDMI_BRIDGE
	tristate "Freescale i.MX8MP HDMI-TX bridge support"
	depends on OF
	depends on COMMON_CLK
	select DRM_DW_HDMI
	depends on DRM_DW_HDMI
	depends on OF
	select DRM_IMX8MP_HDMI_PVI
	select PHY_FSL_SAMSUNG_HDMI_PHY
	help
+3 −2
Original line number Diff line number Diff line
@@ -35,7 +35,8 @@ config DRM_IMX_LDB

config DRM_IMX_HDMI
	tristate "Freescale i.MX DRM HDMI"
	select DRM_DW_HDMI
	depends on DRM_IMX && OF
	depends on DRM_DW_HDMI
	depends on DRM_IMX
	depends on OF
	help
	  Choose this if you want to use HDMI on i.MX6.
+1 −1
Original line number Diff line number Diff line
@@ -27,8 +27,8 @@ config DRM_INGENIC_IPU

config DRM_INGENIC_DW_HDMI
	tristate "Ingenic specific support for Synopsys DW HDMI"
	depends on DRM_DW_HDMI
	depends on MACH_JZ4780
	select DRM_DW_HDMI
	help
	  Choose this option to enable Synopsys DesignWare HDMI based driver.
	  If you want to enable HDMI on Ingenic JZ4780 based SoC, you should
+1 −1
Original line number Diff line number Diff line
@@ -13,9 +13,9 @@ config DRM_MESON

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
	select DRM_DW_HDMI
	imply DRM_DW_HDMI_I2S_AUDIO

config DRM_MESON_DW_MIPI_DSI
+1 −1
Original line number Diff line number Diff line
@@ -25,8 +25,8 @@ config DRM_RCAR_CMM
config DRM_RCAR_DW_HDMI
	tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support"
	depends on DRM && OF
	depends on DRM_DW_HDMI
	depends on DRM_RCAR_DU || COMPILE_TEST
	select DRM_DW_HDMI
	help
	  Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.

Loading