Skip to contentSkip to conversation

drm/panel: s6e3ha8: select CONFIG_DRM_DISPLAY_DSC_HELPER

PATCH Superseded Arnd Bergmann 3 participants 3 messages Oct 15, 2024

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panel: s6e3ha8: select CONFIG_DRM_DISPLAY_DSC_HELPER

From: Arnd Bergmann <[email protected]>

The new driver needs the dsc helper code to be available:

x86_64-linux-ld: vmlinux.o: in function `s6e3ha8_amb577px01_wqhd_prepare':
panel-samsung-s6e3ha8.c:(.text+0x16b1e65): undefined reference to `drm_dsc_pps_payload_pack'

Select it from Kconfig as we do for other similar drivers.

Fixes 779679d3c164 ("drm/panel: Add support for S6E3HA8 panel driver")
---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/Kconfig +1 -0
index ddfaa99ea9dd..ffe7eff71496 100644
@@ -626,6 +626,7 @@ config DRM_PANEL_SAMSUNG_AMS639RQ08
 config DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01
 	tristate "Samsung AMS452EF01 panel with S6E88A0 DSI video mode controller"
 	depends on OF
+	select DRM_DISPLAY_DSC_HELPER
 	select DRM_MIPI_DSI
 	select VIDEOMODE_HELPERS
 
Signature · 1 line
2.39.5
#1 lore raw
Quoted 20 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The new driver needs the dsc helper code to be available:

x86_64-linux-ld: vmlinux.o: in function `s6e3ha8_amb577px01_wqhd_prepare':
panel-samsung-s6e3ha8.c:(.text+0x16b1e65): undefined reference to `drm_dsc_pps_payload_pack'

Select it from Kconfig as we do for other similar drivers.

Fixes 779679d3c164 ("drm/panel: Add support for S6E3HA8 panel driver")
---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/Kconfig +0 -0
index ddfaa99ea9dd..ffe7eff71496 100644

drivers/gpu/drm/panel/Kconfig config DRM_PANEL_SAMSUNG_AMS639RQ08 · line 629

Quoted 4 lines
drivers/gpu/drm/panel/Kconfig +1 -0
@@ -626,6 +626,7 @@ config DRM_PANEL_SAMSUNG_AMS639RQ08
 config DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01
 	tristate "Samsung AMS452EF01 panel with S6E88A0 DSI video mode controller"
 	depends on OF
+	select DRM_DISPLAY_DSC_HELPER

It seems that it uses DRM_DISPLAY_DP_HELPER in mainline but use DRM_DISPLAY_DSC_HELPER in next.

Quoted 3 lines
drivers/gpu/drm/panel/Kconfig +0 -0
 	select DRM_MIPI_DSI
 	select VIDEOMODE_HELPERS
 
#2 lore raw
Quoted 16 lines · Jinjie Ruan
Quoted 15 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

The new driver needs the dsc helper code to be available:

x86_64-linux-ld: vmlinux.o: in function `s6e3ha8_amb577px01_wqhd_prepare':
panel-samsung-s6e3ha8.c:(.text+0x16b1e65): undefined reference to `drm_dsc_pps_payload_pack'

Select it from Kconfig as we do for other similar drivers.

Fixes 779679d3c164 ("drm/panel: Add support for S6E3HA8 panel driver")
---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
Quoted 13 lines

drivers/gpu/drm/panel/Kconfig config DRM_PANEL_SAMSUNG_AMS639RQ08 · line 629

Quoted 9 lines
drivers/gpu/drm/panel/Kconfig +1 -0
index ddfaa99ea9dd..ffe7eff71496 100644
@@ -626,6 +626,7 @@ config DRM_PANEL_SAMSUNG_AMS639RQ08
 config DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01
 	tristate "Samsung AMS452EF01 panel with S6E88A0 DSI video mode controller"
 	depends on OF
+	select DRM_DISPLAY_DSC_HELPER

It seems that it uses DRM_DISPLAY_DP_HELPER in mainline but use DRM_DISPLAY_DSC_HELPER in next.

I think I made a mistake during rebasing and ended up having the 'select' under the wrong Kconfig symbol.

The new driver DRM_PANEL_SAMSUNG_S6E3HA8 was only added in linux-next and does not exist in mainline yet.

Sending a new version now.

Arnd