The ICNA35XX panel initialization sequences call
drm_dsc_pps_payload_pack(), but DRM_PANEL_CHIPONE_ICNA35XX selects
only DRM_DISPLAY_HELPER, not its DSC component. The panel fails to
link if no other driver enables the DSC helper.

Select DRM_DISPLAY_DSC_HELPER in addition to the existing display
helper.

The issue was found by our static-analysis tool and manually reviewed.

Fixes: f747473a838e ("drm/panel: Add panel driver for Chipone ICNA35XX based 
panels")
Link: 
https://www.mail-archive.com/[email protected]/msg611517.html
Signed-off-by: Pengpeng Hou <[email protected]>
---
AI assistance: gpt 5 (patch preparation and review).

 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 7a520b4..4be87f2 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -122,6 +122,7 @@ config DRM_PANEL_CHIPONE_ICNA35XX
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
        select DRM_DISPLAY_HELPER
+       select DRM_DISPLAY_DSC_HELPER
        help
          Say Y here if you want to enable support for the panels built
          around the Chipone ICNA3512 and ICNA3520 display controllers,

base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244

Reply via email to