Skip to contentSkip to conversation

drm/panel: fix novatek-nt36536 dependencies

PATCH Applied Arnd Bergmann 2 participants 3 messages Sep 25 – Oct 2

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

PATCH 1/1 drm/panel: fix novatek-nt36536 dependencies

From: Arnd Bergmann <[email protected]>

The recently added driver requires access to DSC helper code and fails to link without that:

ld.lld: error: undefined symbol: drm_dsc_pps_payload_pack

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

referenced by panel-novatek-nt36536.c:109 (/home/arnd/arm-soc/drivers/gpu/drm/panel/panel-novatek-nt36536.c:109)
drivers/gpu/drm/panel/panel-novatek-nt36536.o:(novatek_prepare) in archive vmlinux.a

Add the usual Kconfig dependency.

Fixes 75a5dbd1f4f7 ("drm/panel: Add Novatek NT36536 panel driver")
---
 drivers/gpu/drm/panel/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/panel/Kconfig +2 -0
index 6874752a1901..8bf7911d2a0e 100644
@@ -694,6 +694,8 @@ config DRM_PANEL_NOVATEK_NT36536
 	depends on OF
 	depends on DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
+	select DRM_DISPLAY_DSC_HELPER
+	select DRM_DISPLAY_HELPER
 	select DRM_KMS_HELPER
 	help
 	  Say Y here if you want to enable support for Novatek NT36536-based
Signature · 1 line
2.53.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 22 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The recently added driver requires access to DSC helper code and fails to link without that:

ld.lld: error: undefined symbol: drm_dsc_pps_payload_pack

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

referenced by panel-novatek-nt36536.c:109 (/home/arnd/arm-soc/drivers/gpu/drm/panel/panel-novatek-nt36536.c:109)
drivers/gpu/drm/panel/panel-novatek-nt36536.o:(novatek_prepare) in archive vmlinux.a

Add the usual Kconfig dependency.

Fixes 75a5dbd1f4f7 ("drm/panel: Add Novatek NT36536 panel driver")
---
  drivers/gpu/drm/panel/Kconfig | 2 ++
  1 file changed, 2 insertions(+)
drivers/gpu/drm/panel/Kconfig +0 -0
index 6874752a1901..8bf7911d2a0e 100644

drivers/gpu/drm/panel/Kconfig config DRM_PANEL_NOVATEK_NT36536 · line 701

Quoted 8 lines
drivers/gpu/drm/panel/Kconfig +2 -0
@@ -694,6 +694,8 @@ config DRM_PANEL_NOVATEK_NT36536
  	depends on OF
  	depends on DRM_MIPI_DSI
  	depends on BACKLIGHT_CLASS_DEVICE
+	select DRM_DISPLAY_DSC_HELPER
+	select DRM_DISPLAY_HELPER
  	select DRM_KMS_HELPER
  	help
  	  Say Y here if you want to enable support for Novatek NT36536-based

Thanks,
Neil

maintainer Applied
#2 lore raw
In reply to Arnd Bergmann

Hi,

Quoted 8 lines · Arnd Bergmann

The recently added driver requires access to DSC helper code and fails to link without that:

ld.lld: error: undefined symbol: drm_dsc_pps_payload_pack

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

referenced by panel-novatek-nt36536.c:109 (/home/arnd/arm-soc/drivers/gpu/drm/panel/panel-novatek-nt36536.c:109)
drivers/gpu/drm/panel/panel-novatek-nt36536.o:(novatek_prepare) in archive vmlinux.a

[...]

Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)

[1/1] drm/panel: fix novatek-nt36536 dependencies

      https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/f11277810402d0e2f3f8e64618cdb5af2ade8d3f
Signature · 1 line
Neil