Skip to contentSkip to conversation

drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP

PATCH Superseded Thomas Zimmermann 3 participants 3 messages Feb 3, 2022

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Thomas Zimmermann

author maintainer
#0 lore raw

PATCH 1/1 drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP

As reported in [1], DRM_PANEL_EDP depends on DRM_DP_HELPER. Select the option to fix the build failure. The issue has been reported before, when DisplayPort helpers where hidden behind the option CONFIG_DRM_KMS_HELPER. [2]

Fixes adb9d5a2cc77 ("drm/dp: Move DisplayPort helpers into separate helper module")
Fixes 5f04e7ce392d ("drm/panel-edp: Split eDP panels out of panel-simple")
Cc Thomas Zimmermann <[email protected]>
Cc Lyude Paul <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/Kconfig +1 -0
index 434c2861bb40..0aec5a10b064 100644
@@ -106,6 +106,7 @@ config DRM_PANEL_EDP
 	depends on PM
 	select VIDEOMODE_HELPERS
 	select DRM_DP_AUX_BUS
+	select DRM_DP_HELPER
 	help
 	  DRM panel driver for dumb eDP panels that need at most a regulator and
 	  a GPIO to be powered up. Optionally a backlight can be attached so
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Thomas Zimmermann

As reported in [1], DRM_PANEL_EDP depends on DRM_DP_HELPER. Select the option to fix the build failure. The issue has been reported before, when DisplayPort helpers where hidden behind the option CONFIG_DRM_KMS_HELPER. [2]

The two links [1] and [2] appear to be missing here, and I would also recommend copying the build output into the changelog text for easier reference.

When linking to a bug report, best use 'Link:' tags in below.

Quoted 27 lines
Fixes adb9d5a2cc77 ("drm/dp: Move DisplayPort helpers into separate helper module")
Fixes 5f04e7ce392d ("drm/panel-edp: Split eDP panels out of panel-simple")
Cc Thomas Zimmermann <[email protected]>
Cc Lyude Paul <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>
---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/Kconfig +1 -0
index 434c2861bb40..0aec5a10b064 100644
@@ -106,6 +106,7 @@ config DRM_PANEL_EDP
        depends on PM
        select VIDEOMODE_HELPERS
        select DRM_DP_AUX_BUS
+       select DRM_DP_HELPER
        help
          DRM panel driver for dumb eDP panels that need at most a regulator and
          a GPIO to be powered up. Optionally a backlight can be attached so
Reviewed-by on v1 1/1
#2 lore raw
In reply to Thomas Zimmermann
Quoted 33 lines · Thomas Zimmermann

As reported in [1], DRM_PANEL_EDP depends on DRM_DP_HELPER. Select the option to fix the build failure. The issue has been reported before, when DisplayPort helpers where hidden behind the option CONFIG_DRM_KMS_HELPER. [2]

Fixes adb9d5a2cc77 ("drm/dp: Move DisplayPort helpers into separate helper

module")

Fixes 5f04e7ce392d ("drm/panel-edp: Split eDP panels out of panel-simple")
Cc Thomas Zimmermann <[email protected]>
Cc Lyude Paul <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Maarten Lankhorst <[email protected]>
Cc Maxime Ripard <[email protected]>

---
 drivers/gpu/drm/panel/Kconfig | 1 +

 1 file changed, 1 insertion(+)
drivers/gpu/drm/panel/Kconfig +0 -0
index 434c2861bb40..0aec5a10b064 100644
@@ -106,6 +106,7 @@ config DRM_PANEL_EDP

        depends on PM
        select VIDEOMODE_HELPERS
        select DRM_DP_AUX_BUS
+       select DRM_DP_HELPER
        help
          DRM panel driver for dumb eDP panels that need at most a regulator and
          a GPIO to be powered up. Optionally a backlight can be attached so

Signature · 3 lines
Cheers,
 Lyude Paul (she/her)
 Software Engineer at Red Hat