dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] drm/display: Fix display helpers depends on fallouts
@ 2024-04-03 10:56 Maxime Ripard
  2024-04-03 10:56 ` [PATCH 1/7] drm/display: Select DRM_KMS_HELPER for DP helpers Maxime Ripard
                   ` (8 more replies)
  0 siblings, 9 replies; 17+ messages in thread
From: Maxime Ripard @ 2024-04-03 10:56 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard,
	kernel test robot

Hi,

Here's a series addressing the various regressions that were reported
after the Kconfig rework for the DRM display helpers.

Let me know what you think,
Maxime

Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
Maxime Ripard (7):
      drm/display: Select DRM_KMS_HELPER for DP helpers
      drm/bridge: dw-hdmi: Make DRM_DW_HDMI selectable
      ARM: configs: imx_v6_v7: Enable DRM_DW_HDMI
      ARM: configs: multi_v7: Enable DRM_DW_HDMI
      ARM: configs: sunxi: Enable DRM_DW_HDMI
      arm64: defconfig: Enable DRM_DW_HDMI
      mips: configs: ci20: Enable DRM_DW_HDMI

 arch/arm/configs/imx_v6_v7_defconfig    | 1 +
 arch/arm/configs/multi_v7_defconfig     | 1 +
 arch/arm/configs/sunxi_defconfig        | 1 +
 arch/arm64/configs/defconfig            | 1 +
 arch/mips/configs/ci20_defconfig        | 1 +
 drivers/gpu/drm/bridge/synopsys/Kconfig | 2 +-
 drivers/gpu/drm/display/Kconfig         | 1 +
 7 files changed, 7 insertions(+), 1 deletion(-)
---
base-commit: 727900b675b749c40ba1f6669c7ae5eb7eb8e837
change-id: 20240403-fix-dw-hdmi-kconfig-068b121eeae7

Best regards,
-- 
Maxime Ripard <mripard@kernel.org>


^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH 1/7] drm/display: Select DRM_KMS_HELPER for DP helpers
  2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
@ 2024-04-03 10:56 ` Maxime Ripard
  2024-04-05 13:09   ` (subset) " Maxime Ripard
  2024-04-03 10:56 ` [PATCH 2/7] drm/bridge: dw-hdmi: Make DRM_DW_HDMI selectable Maxime Ripard
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Maxime Ripard @ 2024-04-03 10:56 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard,
	kernel test robot

The DisplayPort helpers rely on some
(__drm_atomic_helper_private_obj_duplicate_state,
drm_kms_helper_hotplug_event) helpers found in files compiled by
DRM_KMS_HELPER.

Prior to commit d674858ff979 ("drm/display: Make all helpers visible and
switch to depends on"), DRM_DISPLAY_DP_HELPER was only selectable so it
wasn't really a big deal. However, since that commit, it's now something
that can be enabled as is, and since there's no expressed dependency
with DRM_KMS_HELPER, it can break too.

Since DRM_KMS_HELPER is a selectable option for now, let's select it for
DRM_DISPLAY_DP_HELPER.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202404021556.0JVcNC13-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202404021700.LbyYZGFd-lkp@intel.com/
Fixes: d674858ff979 ("drm/display: Make all helpers visible and switch to depends on")
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
 drivers/gpu/drm/display/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/display/Kconfig b/drivers/gpu/drm/display/Kconfig
index 01f2a231aa5f..a38962a556c2 100644
--- a/drivers/gpu/drm/display/Kconfig
+++ b/drivers/gpu/drm/display/Kconfig
@@ -37,10 +37,11 @@ config DRM_DISPLAY_DP_AUX_CHARDEV
 	  channel.
 
 config DRM_DISPLAY_DP_HELPER
 	bool "DRM DisplayPort Helpers"
 	depends on DRM_DISPLAY_HELPER
+	select DRM_KMS_HELPER
 	default y
 	help
 	  DRM display helpers for DisplayPort.
 
 config DRM_DISPLAY_DP_TUNNEL

-- 
2.44.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 2/7] drm/bridge: dw-hdmi: Make DRM_DW_HDMI selectable
  2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
  2024-04-03 10:56 ` [PATCH 1/7] drm/display: Select DRM_KMS_HELPER for DP helpers Maxime Ripard
@ 2024-04-03 10:56 ` Maxime Ripard
  2024-04-05 13:09   ` (subset) " Maxime Ripard
  2024-04-03 10:56 ` [PATCH 3/7] ARM: configs: imx_v6_v7: Enable DRM_DW_HDMI Maxime Ripard
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Maxime Ripard @ 2024-04-03 10:56 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard

Commit c0e0f139354c ("drm: Make drivers depends on DRM_DW_HDMI") turned
select dependencies into depends on ones. However, DRM_DW_HDMI was not
manually selectable which resulted in no way to enable the drivers that
were now depending on it.

Fixes: 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper module")
Reported-by: Mark Brown <broonie@kernel.org>
Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
 drivers/gpu/drm/bridge/synopsys/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/bridge/synopsys/Kconfig b/drivers/gpu/drm/bridge/synopsys/Kconfig
index 387f5bd86089..1252fd30d4a4 100644
--- a/drivers/gpu/drm/bridge/synopsys/Kconfig
+++ b/drivers/gpu/drm/bridge/synopsys/Kconfig
@@ -1,8 +1,8 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config DRM_DW_HDMI
-	tristate
+	tristate "Synopsys Designware HDMI TX Controller"
 	depends on DRM_DISPLAY_HDMI_HELPER
 	depends on DRM_DISPLAY_HELPER
 	select DRM_KMS_HELPER
 	select REGMAP_MMIO
 	select CEC_CORE if CEC_NOTIFIER

-- 
2.44.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 3/7] ARM: configs: imx_v6_v7: Enable DRM_DW_HDMI
  2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
  2024-04-03 10:56 ` [PATCH 1/7] drm/display: Select DRM_KMS_HELPER for DP helpers Maxime Ripard
  2024-04-03 10:56 ` [PATCH 2/7] drm/bridge: dw-hdmi: Make DRM_DW_HDMI selectable Maxime Ripard
@ 2024-04-03 10:56 ` Maxime Ripard
  2024-04-22  3:53   ` Shawn Guo
  2024-04-03 10:56 ` [PATCH 4/7] ARM: configs: multi_v7: " Maxime Ripard
                   ` (5 subsequent siblings)
  8 siblings, 1 reply; 17+ messages in thread
From: Maxime Ripard @ 2024-04-03 10:56 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard

Commit 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper
module") turned the DRM_DW_HDMI dependency of DRM_IMX_HDMI into a
depends on which ended up disabling the driver in the defconfig. Make
sure it's still enabled.

Fixes: 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper module")
Reported-by: Mark Brown <broonie@kernel.org>
Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
 arch/arm/configs/imx_v6_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index 7327fce87808..294c0c3df370 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -281,10 +281,11 @@ CONFIG_DRM_MSM=y
 CONFIG_DRM_PANEL_LVDS=y
 CONFIG_DRM_PANEL_SIMPLE=y
 CONFIG_DRM_PANEL_EDP=y
 CONFIG_DRM_PANEL_SEIKO_43WVF1G=y
 CONFIG_DRM_TI_TFP410=y
+CONFIG_DRM_DW_HDMI=y
 CONFIG_DRM_DW_HDMI_AHB_AUDIO=m
 CONFIG_DRM_DW_HDMI_CEC=y
 CONFIG_DRM_IMX=y
 CONFIG_DRM_IMX_PARALLEL_DISPLAY=y
 CONFIG_DRM_IMX_TVE=y

-- 
2.44.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 4/7] ARM: configs: multi_v7: Enable DRM_DW_HDMI
  2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
                   ` (2 preceding siblings ...)
  2024-04-03 10:56 ` [PATCH 3/7] ARM: configs: imx_v6_v7: Enable DRM_DW_HDMI Maxime Ripard
@ 2024-04-03 10:56 ` Maxime Ripard
  2024-04-03 10:56 ` [PATCH 5/7] ARM: configs: sunxi: " Maxime Ripard
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Maxime Ripard @ 2024-04-03 10:56 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard

Commit 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper
module") turned the DRM_DW_HDMI dependency of DRM_IMX_HDMI,
and ROCKCHIP_DW_HDMI into a depends on which ended up disabling the
drivers in the defconfig. Make sure it's still enabled.

Fixes: 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper module")
Reported-by: Mark Brown <broonie@kernel.org>
Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 86bf057ac366..9aac9610dd86 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -756,10 +756,11 @@ CONFIG_DRM_TOSHIBA_TC358764=m
 CONFIG_DRM_TOSHIBA_TC358768=m
 CONFIG_DRM_TI_TFP410=m
 CONFIG_DRM_TI_TPD12S015=m
 CONFIG_DRM_I2C_ADV7511=m
 CONFIG_DRM_I2C_ADV7511_AUDIO=y
+CONFIG_DRM_DW_HDMI=m
 CONFIG_DRM_STI=m
 CONFIG_DRM_IMX=m
 CONFIG_DRM_IMX_PARALLEL_DISPLAY=m
 CONFIG_DRM_IMX_TVE=m
 CONFIG_DRM_IMX_LDB=m

-- 
2.44.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 5/7] ARM: configs: sunxi: Enable DRM_DW_HDMI
  2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
                   ` (3 preceding siblings ...)
  2024-04-03 10:56 ` [PATCH 4/7] ARM: configs: multi_v7: " Maxime Ripard
@ 2024-04-03 10:56 ` Maxime Ripard
  2024-04-14  9:55   ` Jernej Škrabec
  2024-04-15 21:33   ` Jernej Škrabec
  2024-04-03 10:56 ` [PATCH 6/7] arm64: defconfig: " Maxime Ripard
                   ` (3 subsequent siblings)
  8 siblings, 2 replies; 17+ messages in thread
From: Maxime Ripard @ 2024-04-03 10:56 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard

Commit 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper
module") turned the DRM_DW_HDMI dependency of DRM_SUN8I_DW_HDMI into a
depends on which ended up disabling the driver in the defconfig. Make
sure it's still enabled.

Fixes: 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper module")
Reported-by: Mark Brown <broonie@kernel.org>
Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
 arch/arm/configs/sunxi_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
index bddc82f78942..a83d29fed175 100644
--- a/arch/arm/configs/sunxi_defconfig
+++ b/arch/arm/configs/sunxi_defconfig
@@ -108,10 +108,11 @@ CONFIG_DRM_SUN4I_HDMI_CEC=y
 CONFIG_DRM_SUN8I_DW_HDMI=y
 CONFIG_DRM_PANEL_LVDS=y
 CONFIG_DRM_PANEL_SIMPLE=y
 CONFIG_DRM_PANEL_EDP=y
 CONFIG_DRM_SIMPLE_BRIDGE=y
+CONFIG_DRM_DW_HDMI=y
 CONFIG_DRM_LIMA=y
 CONFIG_FB_SIMPLE=y
 CONFIG_BACKLIGHT_CLASS_DEVICE=y
 CONFIG_BACKLIGHT_PWM=y
 CONFIG_SOUND=y

-- 
2.44.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 6/7] arm64: defconfig: Enable DRM_DW_HDMI
  2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
                   ` (4 preceding siblings ...)
  2024-04-03 10:56 ` [PATCH 5/7] ARM: configs: sunxi: " Maxime Ripard
@ 2024-04-03 10:56 ` Maxime Ripard
  2024-04-03 10:56 ` [PATCH 7/7] mips: configs: ci20: " Maxime Ripard
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 17+ messages in thread
From: Maxime Ripard @ 2024-04-03 10:56 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard

Commit 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper
module") turned the DRM_DW_HDMI dependency of ROCKCHIP_DW_HDMI,
DRM_RCAR_DW_HDMI and DRM_IMX8MP_DW_HDMI_BRIDGE into a depends on which
ended up disabling the drivers in the defconfig. Make sure it's still
enabled.

Fixes: 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper module")
Reported-by: Mark Brown <broonie@kernel.org>
Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 94e677800899..6c223541e4f0 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -894,10 +894,11 @@ CONFIG_DRM_TI_SN65DSI86=m
 CONFIG_DRM_ANALOGIX_ANX7625=m
 CONFIG_DRM_I2C_ADV7511=m
 CONFIG_DRM_I2C_ADV7511_AUDIO=y
 CONFIG_DRM_CDNS_MHDP8546=m
 CONFIG_DRM_IMX8MP_DW_HDMI_BRIDGE=m
+CONFIG_DRM_DW_HDMI=m
 CONFIG_DRM_DW_HDMI_AHB_AUDIO=m
 CONFIG_DRM_DW_HDMI_CEC=m
 CONFIG_DRM_IMX_DCSS=m
 CONFIG_DRM_V3D=m
 CONFIG_DRM_VC4=m

-- 
2.44.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH 7/7] mips: configs: ci20: Enable DRM_DW_HDMI
  2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
                   ` (5 preceding siblings ...)
  2024-04-03 10:56 ` [PATCH 6/7] arm64: defconfig: " Maxime Ripard
@ 2024-04-03 10:56 ` Maxime Ripard
  2024-04-03 23:15 ` [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Mark Brown
  2024-04-10 18:06 ` Mark Brown
  8 siblings, 0 replies; 17+ messages in thread
From: Maxime Ripard @ 2024-04-03 10:56 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard

Commit 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper
module") turned the DRM_DW_HDMI dependency of DRM_INGENIC_DW_HDMI into a
depends on which ended up disabling the drivers in the defconfig. Make
sure it's still enabled.

Fixes: 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper module")
Reported-by: Mark Brown <broonie@kernel.org>
Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
---
 arch/mips/configs/ci20_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/configs/ci20_defconfig b/arch/mips/configs/ci20_defconfig
index cdf2a782dee1..0b1c17a650e4 100644
--- a/arch/mips/configs/ci20_defconfig
+++ b/arch/mips/configs/ci20_defconfig
@@ -120,10 +120,11 @@ CONFIG_RC_DEVICES=y
 CONFIG_IR_GPIO_CIR=m
 CONFIG_IR_GPIO_TX=m
 CONFIG_MEDIA_SUPPORT=m
 CONFIG_DRM=m
 CONFIG_DRM_DISPLAY_CONNECTOR=m
+CONFIG_DRM_DW_HDMI=m
 CONFIG_DRM_INGENIC=m
 CONFIG_DRM_INGENIC_DW_HDMI=m
 CONFIG_FB=y
 # CONFIG_VGA_CONSOLE is not set
 CONFIG_FRAMEBUFFER_CONSOLE=y

-- 
2.44.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] drm/display: Fix display helpers depends on fallouts
  2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
                   ` (6 preceding siblings ...)
  2024-04-03 10:56 ` [PATCH 7/7] mips: configs: ci20: " Maxime Ripard
@ 2024-04-03 23:15 ` Mark Brown
  2024-04-10 18:06 ` Mark Brown
  8 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2024-04-03 23:15 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips,
	kernel test robot

[-- Attachment #1: Type: text/plain, Size: 472 bytes --]

On Wed, Apr 03, 2024 at 12:56:18PM +0200, Maxime Ripard wrote:
> Hi,
> 
> Here's a series addressing the various regressions that were reported
> after the Kconfig rework for the DRM display helpers.

This makes sense to me and looks like it does the right thing for
multi_v7_defconfig so

Reviewed-by: Mark Brown <broonie@kernel.org>

Between the arm64 defconfig update not applying on -next and unrelated
breakage on arm I didn't actually do a proper test.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: (subset) [PATCH 1/7] drm/display: Select DRM_KMS_HELPER for DP helpers
  2024-04-03 10:56 ` [PATCH 1/7] drm/display: Select DRM_KMS_HELPER for DP helpers Maxime Ripard
@ 2024-04-05 13:09   ` Maxime Ripard
  0 siblings, 0 replies; 17+ messages in thread
From: Maxime Ripard @ 2024-04-05 13:09 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, Maxime Ripard
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips,
	kernel test robot

On Wed, 03 Apr 2024 12:56:19 +0200, Maxime Ripard wrote:
> The DisplayPort helpers rely on some
> (__drm_atomic_helper_private_obj_duplicate_state,
> drm_kms_helper_hotplug_event) helpers found in files compiled by
> DRM_KMS_HELPER.
> 
> Prior to commit d674858ff979 ("drm/display: Make all helpers visible and
> switch to depends on"), DRM_DISPLAY_DP_HELPER was only selectable so it
> wasn't really a big deal. However, since that commit, it's now something
> that can be enabled as is, and since there's no expressed dependency
> with DRM_KMS_HELPER, it can break too.
> 
> [...]

Applied to misc/kernel.git (drm-misc-next).

Thanks!
Maxime


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: (subset) [PATCH 2/7] drm/bridge: dw-hdmi: Make DRM_DW_HDMI selectable
  2024-04-03 10:56 ` [PATCH 2/7] drm/bridge: dw-hdmi: Make DRM_DW_HDMI selectable Maxime Ripard
@ 2024-04-05 13:09   ` Maxime Ripard
  0 siblings, 0 replies; 17+ messages in thread
From: Maxime Ripard @ 2024-04-05 13:09 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, Maxime Ripard
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips

On Wed, 03 Apr 2024 12:56:20 +0200, Maxime Ripard wrote:
> Commit c0e0f139354c ("drm: Make drivers depends on DRM_DW_HDMI") turned
> select dependencies into depends on ones. However, DRM_DW_HDMI was not
> manually selectable which resulted in no way to enable the drivers that
> were now depending on it.
> 
> 

Applied to misc/kernel.git (drm-misc-next).

Thanks!
Maxime


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] drm/display: Fix display helpers depends on fallouts
  2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
                   ` (7 preceding siblings ...)
  2024-04-03 23:15 ` [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Mark Brown
@ 2024-04-10 18:06 ` Mark Brown
  2024-04-15 11:21   ` Maxime Ripard
  8 siblings, 1 reply; 17+ messages in thread
From: Mark Brown @ 2024-04-10 18:06 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips,
	kernel test robot

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

On Wed, Apr 03, 2024 at 12:56:18PM +0200, Maxime Ripard wrote:
> Hi,
> 
> Here's a series addressing the various regressions that were reported
> after the Kconfig rework for the DRM display helpers.
> 
> Let me know what you think,
> Maxime

Is there any news on getting the rest of this merged?  It's been more
than a week now and the Designware display controllers are all still
broken in -next, causing widespread breakage in CI.  For bisection
purposes it probably makes sense for the defconfig updates to go along
with the changes to the Kconfig for the driver...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 5/7] ARM: configs: sunxi: Enable DRM_DW_HDMI
  2024-04-03 10:56 ` [PATCH 5/7] ARM: configs: sunxi: " Maxime Ripard
@ 2024-04-14  9:55   ` Jernej Škrabec
  2024-04-15 21:33   ` Jernej Škrabec
  1 sibling, 0 replies; 17+ messages in thread
From: Jernej Škrabec @ 2024-04-14  9:55 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, Maxime Ripard
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard

Dne sreda, 3. april 2024 ob 12:56:23 CEST je Maxime Ripard napisal(a):
> Commit 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper
> module") turned the DRM_DW_HDMI dependency of DRM_SUN8I_DW_HDMI into a
> depends on which ended up disabling the driver in the defconfig. Make
> sure it's still enabled.
> 
> Fixes: 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper module")
> Reported-by: Mark Brown <broonie@kernel.org>
> Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> Signed-off-by: Maxime Ripard <mripard@kernel.org>

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej

> ---
>  arch/arm/configs/sunxi_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
> index bddc82f78942..a83d29fed175 100644
> --- a/arch/arm/configs/sunxi_defconfig
> +++ b/arch/arm/configs/sunxi_defconfig
> @@ -108,10 +108,11 @@ CONFIG_DRM_SUN4I_HDMI_CEC=y
>  CONFIG_DRM_SUN8I_DW_HDMI=y
>  CONFIG_DRM_PANEL_LVDS=y
>  CONFIG_DRM_PANEL_SIMPLE=y
>  CONFIG_DRM_PANEL_EDP=y
>  CONFIG_DRM_SIMPLE_BRIDGE=y
> +CONFIG_DRM_DW_HDMI=y
>  CONFIG_DRM_LIMA=y
>  CONFIG_FB_SIMPLE=y
>  CONFIG_BACKLIGHT_CLASS_DEVICE=y
>  CONFIG_BACKLIGHT_PWM=y
>  CONFIG_SOUND=y
> 
> 





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] drm/display: Fix display helpers depends on fallouts
  2024-04-10 18:06 ` Mark Brown
@ 2024-04-15 11:21   ` Maxime Ripard
  2024-04-15 23:53     ` Mark Brown
  0 siblings, 1 reply; 17+ messages in thread
From: Maxime Ripard @ 2024-04-15 11:21 UTC (permalink / raw)
  To: Mark Brown
  Cc: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips,
	kernel test robot

[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]

Hi Mark

On Wed, Apr 10, 2024 at 07:06:39PM +0100, Mark Brown wrote:
> On Wed, Apr 03, 2024 at 12:56:18PM +0200, Maxime Ripard wrote:
> > Hi,
> > 
> > Here's a series addressing the various regressions that were reported
> > after the Kconfig rework for the DRM display helpers.
> > 
> > Let me know what you think,
> > Maxime
> 
> Is there any news on getting the rest of this merged?  It's been more
> than a week now and the Designware display controllers are all still
> broken in -next, causing widespread breakage in CI.  For bisection
> purposes it probably makes sense for the defconfig updates to go along
> with the changes to the Kconfig for the driver...

I was on holidays so I've admittedly hoped that it would be picked up /
reviewed by the relevant maintainers.

Aside from the changes on sunxi_defconfig, I haven't seen any review
from the relevant maintainers so I'm not sure how to merge this. Should
we get an Acked-by from Arnd, Olof, Catalin or Will and merge everything
through drm-misc?

Maxime


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 5/7] ARM: configs: sunxi: Enable DRM_DW_HDMI
  2024-04-03 10:56 ` [PATCH 5/7] ARM: configs: sunxi: " Maxime Ripard
  2024-04-14  9:55   ` Jernej Škrabec
@ 2024-04-15 21:33   ` Jernej Škrabec
  1 sibling, 0 replies; 17+ messages in thread
From: Jernej Škrabec @ 2024-04-15 21:33 UTC (permalink / raw)
  To: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, Maxime Ripard
  Cc: Mark Brown, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips, Maxime Ripard

Dne sreda, 3. april 2024 ob 12:56:23 GMT +2 je Maxime Ripard napisal(a):
> Commit 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper
> module") turned the DRM_DW_HDMI dependency of DRM_SUN8I_DW_HDMI into a
> depends on which ended up disabling the driver in the defconfig. Make
> sure it's still enabled.
> 
> Fixes: 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper module")
> Reported-by: Mark Brown <broonie@kernel.org>
> Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> Signed-off-by: Maxime Ripard <mripard@kernel.org>

Applied, thanks!

Best regards,
Jernej



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 0/7] drm/display: Fix display helpers depends on fallouts
  2024-04-15 11:21   ` Maxime Ripard
@ 2024-04-15 23:53     ` Mark Brown
  0 siblings, 0 replies; 17+ messages in thread
From: Mark Brown @ 2024-04-15 23:53 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, Alexander Stein, dri-devel, linux-kernel,
	linux-arm-kernel, imx, linux-sunxi, linux-mips,
	kernel test robot

[-- Attachment #1: Type: text/plain, Size: 1066 bytes --]

On Mon, Apr 15, 2024 at 01:21:47PM +0200, Maxime Ripard wrote:
> On Wed, Apr 10, 2024 at 07:06:39PM +0100, Mark Brown wrote:

> > Is there any news on getting the rest of this merged?  It's been more
> > than a week now and the Designware display controllers are all still
> > broken in -next, causing widespread breakage in CI.  For bisection
> > purposes it probably makes sense for the defconfig updates to go along
> > with the changes to the Kconfig for the driver...

> I was on holidays so I've admittedly hoped that it would be picked up /
> reviewed by the relevant maintainers.

> Aside from the changes on sunxi_defconfig, I haven't seen any review
> from the relevant maintainers so I'm not sure how to merge this. Should
> we get an Acked-by from Arnd, Olof, Catalin or Will and merge everything
> through drm-misc?

Sounds like a reasonable plan to me - usually it'd be the SoC
maintainers for stuff like this but they're not on the CC, though TBH it
seems sufficiently obvious that I doubt anyone would mind if you just
merged things without waiting.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [PATCH 3/7] ARM: configs: imx_v6_v7: Enable DRM_DW_HDMI
  2024-04-03 10:56 ` [PATCH 3/7] ARM: configs: imx_v6_v7: Enable DRM_DW_HDMI Maxime Ripard
@ 2024-04-22  3:53   ` Shawn Guo
  0 siblings, 0 replies; 17+ messages in thread
From: Shawn Guo @ 2024-04-22  3:53 UTC (permalink / raw)
  To: Maxime Ripard
  Cc: Maarten Lankhorst, Thomas Zimmermann, David Airlie,
	Daniel Vetter, Jani Nikula, Andrzej Hajda, Neil Armstrong,
	Robert Foss, Laurent Pinchart, Jonas Karlman, Jernej Skrabec,
	Javier Martinez Canillas, Russell King, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Chen-Yu Tsai,
	Samuel Holland, Catalin Marinas, Will Deacon,
	Thomas Bogendoerfer, Mark Brown, Alexander Stein, dri-devel,
	linux-kernel, linux-arm-kernel, imx, linux-sunxi, linux-mips

On Wed, Apr 03, 2024 at 12:56:21PM +0200, Maxime Ripard wrote:
> Commit 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper
> module") turned the DRM_DW_HDMI dependency of DRM_IMX_HDMI into a
> depends on which ended up disabling the driver in the defconfig. Make
> sure it's still enabled.
> 
> Fixes: 4fc8cb47fcfd ("drm/display: Move HDMI helpers into display-helper module")
> Reported-by: Mark Brown <broonie@kernel.org>
> Reported-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> Signed-off-by: Maxime Ripard <mripard@kernel.org>

Acked-by: Shawn Guo <shawnguo@kernel.org>


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-04-22  4:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-03 10:56 [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Maxime Ripard
2024-04-03 10:56 ` [PATCH 1/7] drm/display: Select DRM_KMS_HELPER for DP helpers Maxime Ripard
2024-04-05 13:09   ` (subset) " Maxime Ripard
2024-04-03 10:56 ` [PATCH 2/7] drm/bridge: dw-hdmi: Make DRM_DW_HDMI selectable Maxime Ripard
2024-04-05 13:09   ` (subset) " Maxime Ripard
2024-04-03 10:56 ` [PATCH 3/7] ARM: configs: imx_v6_v7: Enable DRM_DW_HDMI Maxime Ripard
2024-04-22  3:53   ` Shawn Guo
2024-04-03 10:56 ` [PATCH 4/7] ARM: configs: multi_v7: " Maxime Ripard
2024-04-03 10:56 ` [PATCH 5/7] ARM: configs: sunxi: " Maxime Ripard
2024-04-14  9:55   ` Jernej Škrabec
2024-04-15 21:33   ` Jernej Škrabec
2024-04-03 10:56 ` [PATCH 6/7] arm64: defconfig: " Maxime Ripard
2024-04-03 10:56 ` [PATCH 7/7] mips: configs: ci20: " Maxime Ripard
2024-04-03 23:15 ` [PATCH 0/7] drm/display: Fix display helpers depends on fallouts Mark Brown
2024-04-10 18:06 ` Mark Brown
2024-04-15 11:21   ` Maxime Ripard
2024-04-15 23:53     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).