Skip to contentSkip to conversation

drm/panel: s6e3ha8: select CONFIG_DRM_DISPLAY_DSC_HELPER

PATCH Applied Arnd Bergmann 3 participants 3 messages Oct 15, 2024 – Oct 16, 2024

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

PATCH v2 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")

---
v2: add dependency to the correct driver

---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/Kconfig +1 -0
index ddfaa99ea9dd..128c12e8b84f 100644
@@ -703,6 +703,7 @@ config DRM_PANEL_SAMSUNG_S6E3HA8
 	depends on OF
 	depends on DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
+	select DRM_DISPLAY_DSC_HELPER
 	select VIDEOMODE_HELPERS
 
 config DRM_PANEL_SAMSUNG_S6E63J0X03
Signature · 1 line
2.39.5
Reviewed-by on v2 1/1
#1 lore raw
Quoted 11 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")

Hi Arnd,

Thanks,

Jessica Zhang

Quoted 21 lines

---
v2: add dependency to the correct driver

---
  drivers/gpu/drm/panel/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/Kconfig +1 -0
index ddfaa99ea9dd..128c12e8b84f 100644
@@ -703,6 +703,7 @@ config DRM_PANEL_SAMSUNG_S6E3HA8
  	depends on OF
  	depends on DRM_MIPI_DSI
  	depends on BACKLIGHT_CLASS_DEVICE
+	select DRM_DISPLAY_DSC_HELPER
  	select VIDEOMODE_HELPERS
 
  config DRM_PANEL_SAMSUNG_S6E63J0X03
Signature · 1 line
2.39.5
maintainer Applied
#2 lore raw
In reply to Arnd Bergmann

Hi,

Quoted 8 lines · Arnd Bergmann

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.

[...]

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

[1/1] drm/panel: s6e3ha8: select CONFIG_DRM_DISPLAY_DSC_HELPER

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