Skip to contentSkip to conversation

drm: zte: select VIDEOMODE_HELPERS in Kconfig

PATCH New Shawn Guo 1 participant 2 messages Jan 9, 2017

Subsystems (2)
lore
Share & tools
lore

Shawn Guo

author
#0 lore raw

PATCH 1/1 drm: zte: select VIDEOMODE_HELPERS in Kconfig

From: Shawn Guo <[email protected]>

ZTE DRM driver uses drm_display_mode_to_videomode() in function zx_crtc_enable(). Select VIDEOMODE_HELPERS in Kconfig to fix the following link error.

LD vmlinux.o
MODPOST vmlinux.o
drivers/built-in.o: In function `zx_crtc_enable':
:(.text+0xbdeb8): undefined reference to `drm_display_mode_to_videomode'

---
 drivers/gpu/drm/zte/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/zte/Kconfig +1 -0
index 4065b2840f1c..5f9b4e7f2a36 100644
@@ -4,5 +4,6 @@ config DRM_ZTE
 	select DRM_KMS_CMA_HELPER
 	select DRM_KMS_FB_HELPER
 	select DRM_KMS_HELPER
+	select VIDEOMODE_HELPERS
 	help
 	  Choose this option to enable DRM on ZTE ZX SoCs.
Signature · 6 lines
1.9.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
author
#1 lore raw

PATCH 1/1 drm: zte: select VIDEOMODE_HELPERS in Kconfig

From: Shawn Guo <[email protected]>

ZTE DRM driver uses drm_display_mode_to_videomode() in function zx_crtc_enable(). Select VIDEOMODE_HELPERS in Kconfig to fix the following link error.

LD vmlinux.o
MODPOST vmlinux.o
drivers/built-in.o: In function `zx_crtc_enable':
:(.text+0xbdeb8): undefined reference to `drm_display_mode_to_videomode'

---
 drivers/gpu/drm/zte/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/zte/Kconfig +1 -0
index 4065b2840f1c..5f9b4e7f2a36 100644
@@ -4,5 +4,6 @@ config DRM_ZTE
 	select DRM_KMS_CMA_HELPER
 	select DRM_KMS_FB_HELPER
 	select DRM_KMS_HELPER
+	select VIDEOMODE_HELPERS
 	help
 	  Choose this option to enable DRM on ZTE ZX SoCs.
Signature · 6 lines
1.9.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel