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
  2026-12-03 10:24 ` neil.armstrong
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

* Re: [PATCH] drm/panel: chipone-icna35xx: select the DSC helper
  2026-11-30 12:37 [PATCH] drm/panel: chipone-icna35xx: select the DSC helper Pengpeng Hou
@ 2026-12-03 10:24 ` neil.armstrong
  0 siblings, 0 replies; 2+ messages in thread
From: neil.armstrong @ 2026-12-03 10:24 UTC (permalink / raw)
  To: Pengpeng Hou
  Cc: jesszhan0024, maarten.lankhorst, mripard, tzimmermann, airlied,
	simona, dri-devel, linux-kernel

On 11/30/26 13:37, Pengpeng Hou wrote:
> 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

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

Thanks,
Neil

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-03 10:24 UTC | newest]

Thread overview: 2+ messages (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
2026-12-03 10:24 ` neil.armstrong

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®