mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/panel: chipone-icna35xx: select the DSC helper
@ 2026-11-30 12:37 Pengpeng Hou
  0 siblings, 0 replies; only message in thread
From: Pengpeng Hou @ 2026-11-30 12:37 UTC (permalink / raw)
  To: neil.armstrong
  Cc: jesszhan0024, maarten.lankhorst, mripard, tzimmermann, airlied,
	simona, dri-devel, linux-kernel, hppiscas

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/dri-devel@lists.freedesktop.org/msg611517.html
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 12:37 [PATCH] drm/panel: chipone-icna35xx: select the DSC helper Pengpeng Hou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®