Skip to contentSkip to conversation

drm/panel: hx83121a: fix unmet dependency for DRM_PANEL_ILITEK_ILI9882T

PATCH Superseded Julian Braha 2 participants 3 messages Jul 12

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panel: hx83121a: fix unmet dependency for DRM_PANEL_ILITEK_ILI9882T

Currently, DRM_PANEL_ILITEK_ILI9882T selects DRM_DISPLAY_DSC_HELPER without ensuring DRM_DISPLAY_HELPER is also enabled, causing an unmet dependency and build failure.

Other similar options select DRM_DISPLAY_HELPER, let's do the same here.

This unmet dependency bug was found by kconfirm, a static analysis tool for Kconfig.

Fixes defab7b01e08 ("drm/panel: hx83121a: select DRM_DISPLAY_DSC_HELPER")
---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/Kconfig +1 -0
index 06bfcef35a72..103f1d09a989 100644
@@ -375,6 +375,7 @@ config DRM_PANEL_ILITEK_ILI9882T
 	depends on OF
 	depends on DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
+	select DRM_DISPLAY_HELPER
 	select DRM_DISPLAY_DSC_HELPER
 	help
 	  Say Y if you want to enable support for panels based on the
Signature · 1 line
2.54.0
#1 lore raw
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] The commit title and Fixes tag incorrectly refer to the Himax hx83121a panel, while the patch…

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The commit title and Fixes tag incorrectly refer to the Himax hx83121a panel, while the patch actually modifies the Ilitek ILI9882T panel. --

--- Patch [1]: [PATCH] drm/panel: hx83121a: fix unmet dependency for DRM_PANEL_ILITEK_ILI9882T --- commit e60d5f1c009ee5f39be0116d8f60dc041fbf06fb
Author: Julian Braha <[email protected]>

drm/panel: hx83121a: fix unmet dependency for DRM_PANEL_ILITEK_ILI9882T

This commit resolves an unmet dependency by selecting DRM_DISPLAY_HELPER for the ILI9882T panel.

Quoted 1 line

drm/panel: hx83121a: fix unmet dependency for DRM_PANEL_ILITEK_ILI9882T

[Severity: Medium]
Is there a mismatch between the commit message and the actual code changes?

The subject line refers to the Himax hx83121a panel, while the patch actually modifies the Kconfig entry for the Ilitek ILI9882T panel.

[ ... ]

Quoted 1 line
Fixes defab7b01e08 ("drm/panel: hx83121a: select DRM_DISPLAY_DSC_HELPER")

[Severity: Medium]
Does this Fixes tag point to the correct commit?

The tag references the hx83121a panel instead of the ILI9882T panel that is being updated in the diff below.

Quoted 10 lines
drivers/gpu/drm/panel/Kconfig +1 -0
@@ -374,6 +374,7 @@ config DRM_PANEL_ILITEK_ILI9882T
 	depends on OF
 	depends on DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
+	select DRM_DISPLAY_HELPER
 	select DRM_DISPLAY_DSC_HELPER
 	help
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
#2 lore raw
In reply to Julian Braha
Quoted 20 lines · Julian Braha

Currently, DRM_PANEL_ILITEK_ILI9882T selects DRM_DISPLAY_DSC_HELPER without ensuring DRM_DISPLAY_HELPER is also enabled, causing an unmet dependency and build failure.

Other similar options select DRM_DISPLAY_HELPER, let's do the same here.

This unmet dependency bug was found by kconfirm, a static analysis tool for Kconfig.

Fixes defab7b01e08 ("drm/panel: hx83121a: select DRM_DISPLAY_DSC_HELPER")
---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/Kconfig +0 -0
index 06bfcef35a72..103f1d09a989 100644

drivers/gpu/drm/panel/Kconfig config DRM_PANEL_ILITEK_ILI9882T · line 381

Quoted 7 lines
drivers/gpu/drm/panel/Kconfig +1 -0
@@ -375,6 +375,7 @@ config DRM_PANEL_ILITEK_ILI9882T
 	depends on OF
 	depends on DRM_MIPI_DSI
 	depends on BACKLIGHT_CLASS_DEVICE
+	select DRM_DISPLAY_HELPER
 	select DRM_DISPLAY_DSC_HELPER
 	help
 	  Say Y if you want to enable support for panels based on the

Sorry all, made a silly mistake here and blamed the wrong commit (same mistake in commit title).

Sent v2:
https://lore.kernel.org/all/[email protected]/

- Julian Braha