Skip to contentSkip to conversation

drm: rockchip-dw-dp: add missing dependency on bridge_connector

PATCH In review Marius Dinu 3 participants 5 messages Mar 19 – Mar 21

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm: rockchip-dw-dp: add missing dependency on bridge_connector

Avoids this error:
ld: drivers/gpu/drm/rockchip/dw_dp-rockchip.o: in function `dw_dp_rockchip_bind':
/usr/src/linux/drivers/gpu/drm/rockchip/dw_dp-rockchip.c:108:(.text+0x188): undefined reference to `drm_bridge_connector_init'

---
 drivers/gpu/drm/rockchip/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/Kconfig +1 -0
index 1479b8c4ed40..39cd38375e8a 100644
@@ -67,6 +67,7 @@ config ROCKCHIP_CDN_DP
 
 config ROCKCHIP_DW_DP
 	bool "Rockchip specific extensions for Synopsys DW DP"
+	select DRM_BRIDGE_CONNECTOR
 	help
 	  This selects support for Rockchip SoC specific extensions
 	  to enable Synopsys DesignWare Cores based DisplayPort transmit
Signature · 8 lines
2.52.0



_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
#1 lore raw
Quoted 7 lines · Marius Dinu

Avoids this error:
ld: drivers/gpu/drm/rockchip/dw_dp-rockchip.o: in function `dw_dp_rockchip_bind':
/usr/src/linux/drivers/gpu/drm/rockchip/dw_dp-rockchip.c:108:(.text+0x188): undefined reference to `drm_bridge_connector_init'

---
 drivers/gpu/drm/rockchip/Kconfig | 1 +
$ scripts/get_maintainer.pl drivers/gpu/drm/rockchip/Kconfig
Sandy Huang <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
"Heiko Stübner" <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
Andy Yan <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
Maarten Lankhorst <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Maxime Ripard <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Thomas Zimmermann <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
David Airlie <[email protected]> (maintainer:DRM DRIVERS)
Simona Vetter <[email protected]> (maintainer:DRM DRIVERS)
[email protected] (open list:DRM DRIVERS FOR ROCKCHIP)
[email protected] (moderated list:ARM/Rockchip SoC support)
[email protected] (open list:ARM/Rockchip SoC support)
[email protected] (open list)

I'm missing quite a few of these ...

Cheers,
Diederik

Quoted 7 lines
 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/Kconfig +0 -0
index 1479b8c4ed40..39cd38375e8a 100644

drivers/gpu/drm/rockchip/Kconfig config ROCKCHIP_CDN_DP · line 73

Quoted 7 lines
drivers/gpu/drm/rockchip/Kconfig +1 -0
@@ -67,6 +67,7 @@ config ROCKCHIP_CDN_DP
 
 config ROCKCHIP_DW_DP
 	bool "Rockchip specific extensions for Synopsys DW DP"
+	select DRM_BRIDGE_CONNECTOR
 	help
 	  This selects support for Rockchip SoC specific extensions
 	  to enable Synopsys DesignWare Cores based DisplayPort transmit

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#2 lore raw
Quoted 23 lines · Diederik de Haas
Quoted 7 lines · Marius Dinu

Avoids this error:
ld: drivers/gpu/drm/rockchip/dw_dp-rockchip.o: in function `dw_dp_rockchip_bind':
/usr/src/linux/drivers/gpu/drm/rockchip/dw_dp-rockchip.c:108:(.text+0x188): undefined reference to `drm_bridge_connector_init'

---
 drivers/gpu/drm/rockchip/Kconfig | 1 +
$ scripts/get_maintainer.pl drivers/gpu/drm/rockchip/Kconfig
Sandy Huang <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
"Heiko Stübner" <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
Andy Yan <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
Maarten Lankhorst <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Maxime Ripard <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Thomas Zimmermann <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
David Airlie <[email protected]> (maintainer:DRM DRIVERS)
Simona Vetter <[email protected]> (maintainer:DRM DRIVERS)
[email protected] (open list:DRM DRIVERS FOR ROCKCHIP)
[email protected] (moderated list:ARM/Rockchip SoC support)
[email protected] (open list:ARM/Rockchip SoC support)
[email protected] (open list)
Quoted 1 line

I'm missing quite a few of these ...

I don't understand. I should cc all those addreses? All of them? :o

Regards,
Marius

Quoted 12 lines

Cheers,
Diederik

Quoted 8 lines
 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/Kconfig +0 -0
index 1479b8c4ed40..39cd38375e8a 100644
@@ -67,6 +67,7 @@ config ROCKCHIP_CDN_DP
 
Quoted 7 lines

drivers/gpu/drm/rockchip/Kconfig config ROCKCHIP_CDN_DP · line 73

Quoted 6 lines
drivers/gpu/drm/rockchip/Kconfig +1 -0
 config ROCKCHIP_DW_DP
 	bool "Rockchip specific extensions for Synopsys DW DP"
+	select DRM_BRIDGE_CONNECTOR
 	help
 	  This selects support for Rockchip SoC specific extensions
 	  to enable Synopsys DesignWare Cores based DisplayPort transmit

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#3 lore raw
Quoted 24 lines · Marius Dinu
Quoted 23 lines · Diederik de Haas
Quoted 7 lines · Marius Dinu

Avoids this error:
ld: drivers/gpu/drm/rockchip/dw_dp-rockchip.o: in function `dw_dp_rockchip_bind':
/usr/src/linux/drivers/gpu/drm/rockchip/dw_dp-rockchip.c:108:(.text+0x188): undefined reference to `drm_bridge_connector_init'

---
 drivers/gpu/drm/rockchip/Kconfig | 1 +
$ scripts/get_maintainer.pl drivers/gpu/drm/rockchip/Kconfig
Sandy Huang <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
"Heiko Stübner" <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
Andy Yan <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
Maarten Lankhorst <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Maxime Ripard <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Thomas Zimmermann <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
David Airlie <[email protected]> (maintainer:DRM DRIVERS)
Simona Vetter <[email protected]> (maintainer:DRM DRIVERS)
[email protected] (open list:DRM DRIVERS FOR ROCKCHIP)
[email protected] (moderated list:ARM/Rockchip SoC support)
[email protected] (open list:ARM/Rockchip SoC support)
[email protected] (open list)
Quoted 3 lines
Quoted 1 line

I'm missing quite a few of these ...

I don't understand. I should cc all those addreses? All of them? :o

I usually 'To' the maintainers and 'Cc' the rest. See also
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#select-the-recipients-for-your-patch

HTH,
Diederik

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/Kconfig +0 -0
index 1479b8c4ed40..39cd38375e8a 100644
@@ -67,6 +67,7 @@ config ROCKCHIP_CDN_DP
 
Quoted 7 lines
Quoted 7 lines

drivers/gpu/drm/rockchip/Kconfig config ROCKCHIP_CDN_DP · line 73

Quoted 6 lines
drivers/gpu/drm/rockchip/Kconfig +1 -0
 config ROCKCHIP_DW_DP
 	bool "Rockchip specific extensions for Synopsys DW DP"
+	select DRM_BRIDGE_CONNECTOR
 	help
 	  This selects support for Rockchip SoC specific extensions
 	  to enable Synopsys DesignWare Cores based DisplayPort transmit

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#4 lore raw
Quoted 27 lines · Diederik de Haas
Quoted 26 lines · Marius Dinu
Quoted 24 lines · Diederik de Haas
Quoted 7 lines · Marius Dinu

Avoids this error:
ld: drivers/gpu/drm/rockchip/dw_dp-rockchip.o: in function `dw_dp_rockchip_bind':
/usr/src/linux/drivers/gpu/drm/rockchip/dw_dp-rockchip.c:108:(.text+0x188): undefined reference to `drm_bridge_connector_init'

---
 drivers/gpu/drm/rockchip/Kconfig | 1 +
$ scripts/get_maintainer.pl drivers/gpu/drm/rockchip/Kconfig
Sandy Huang <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
"Heiko Stübner" <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
Andy Yan <[email protected]> (maintainer:DRM DRIVERS FOR ROCKCHIP)
Maarten Lankhorst <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Maxime Ripard <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
Thomas Zimmermann <[email protected]> (maintainer:DRM DRIVERS AND MISC GPU PATCHES)
David Airlie <[email protected]> (maintainer:DRM DRIVERS)
Simona Vetter <[email protected]> (maintainer:DRM DRIVERS)
[email protected] (open list:DRM DRIVERS FOR ROCKCHIP)
[email protected] (moderated list:ARM/Rockchip SoC support)
[email protected] (open list:ARM/Rockchip SoC support)
[email protected] (open list)

I'm missing quite a few of these ...

Quoted 7 lines
Quoted 1 line

I don't understand. I should cc all those addreses? All of them? :o

I usually 'To' the maintainers and 'Cc' the rest. See also
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#select-the-recipients-for-your-patch

HTH,
Diederik

Something changed in v7-rc4. The error is gone. It seems this is probably not needed anymore. But thanks for info about the mailing lists. I'll keep that in mind next time. Marius

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
 1 file changed, 1 insertion(+)
drivers/gpu/drm/rockchip/Kconfig +0 -0
index 1479b8c4ed40..39cd38375e8a 100644
@@ -67,6 +67,7 @@ config ROCKCHIP_CDN_DP
 
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines

drivers/gpu/drm/rockchip/Kconfig config ROCKCHIP_CDN_DP · line 73

Quoted 6 lines
drivers/gpu/drm/rockchip/Kconfig +1 -0
 config ROCKCHIP_DW_DP
 	bool "Rockchip specific extensions for Synopsys DW DP"
+	select DRM_BRIDGE_CONNECTOR
 	help
 	  This selects support for Rockchip SoC specific extensions
 	  to enable Synopsys DesignWare Cores based DisplayPort transmit

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip