drm/display: Fix HDMI state helper dependency
Subsystems (2)
Maxime Ripard
maintainerPATCH 1/1 drm/display: Fix HDMI state helper dependency
During the life of the series that introduced the DRM_DISPLAY_HDMI_STATE_HELPER option, we reworked the Kconfig option dependency setup to rely on depends on with commit f6d2dc03fa85 ("drm:
Switch DRM_DISPLAY_HDMI_HELPER to depends on") which got reverted later on because it was creating too many issues by commit d7c128cb775e ("Revert "drm: Switch DRM_DISPLAY_HDMI_HELPER to depends on"").
However, since the series was out of tree at that time, DRM_DISPLAY_HDMI_STATE_HELPER wasn't properly updated to take the revert into account and is now creating build issues.
Let's switch the depends on to a select to fix this.
--- drivers/gpu/drm/display/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/display/Kconfig +1 -1
@@ -72,8 +72,8 @@ config DRM_DISPLAY_HDMI_HELPER DRM display helpers for HDMI. config DRM_DISPLAY_HDMI_STATE_HELPER bool depends on DRM_DISPLAY_HELPER - depends on DRM_DISPLAY_HDMI_HELPER + select DRM_DISPLAY_HDMI_HELPER help DRM KMS state helpers for HDMI.
Signature · 1 line
2.45.0
Quoted 21 lines · Maxime Ripard
During the life of the series that introduced the
DRM_DISPLAY_HDMI_STATE_HELPERoption, we reworked theKconfigoption dependency setup to rely on depends on with commitf6d2dc03fa85("drm:
SwitchDRM_DISPLAY_HDMI_HELPERto depends on") which got reverted later on because it was creating too many issues by commitd7c128cb775e("Revert "drm: SwitchDRM_DISPLAY_HDMI_HELPERto depends on"").However, since the series was out of tree at that time,
DRM_DISPLAY_HDMI_STATE_HELPERwasn't properly updated to take the revert into account and is now creating build issues.Let's switch the depends on to a select to fix this.
Reported-by kernel test robot <[email protected]>Fixes 54cb39e2293b ("drm/connector: hdmi: Create an HDMI sub-state")Signed-off-by Maxime Ripard <[email protected]>
Quoted 1 line
---
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Quoted 21 lines · Maxime Ripard
During the life of the series that introduced the
DRM_DISPLAY_HDMI_STATE_HELPERoption, we reworked theKconfigoption dependency setup to rely on depends on with commitf6d2dc03fa85("drm:
SwitchDRM_DISPLAY_HDMI_HELPERto depends on") which got reverted later on because it was creating too many issues by commitd7c128cb775e("Revert "drm: SwitchDRM_DISPLAY_HDMI_HELPERto depends on"").However, since the series was out of tree at that time,
DRM_DISPLAY_HDMI_STATE_HELPERwasn't properly updated to take the revert into account and is now creating build issues.Let's switch the depends on to a select to fix this.
Reported-by kernel test robot <[email protected]>Fixes 54cb39e2293b ("drm/connector: hdmi: Create an HDMI sub-state")Signed-off-by Maxime Ripard <[email protected]>
Quoted 4 lines
--- drivers/gpu/drm/display/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 2 lines
With best wishes Dmitry
Quoted 8 lines · Maxime Ripard
During the life of the series that introduced the
DRM_DISPLAY_HDMI_STATE_HELPERoption, we reworked theKconfigoption dependency setup to rely on depends on with commitf6d2dc03fa85("drm:
SwitchDRM_DISPLAY_HDMI_HELPERto depends on") which got reverted later on because it was creating too many issues by commitd7c128cb775e("Revert "drm: SwitchDRM_DISPLAY_HDMI_HELPERto depends on"").[...]
Applied to misc/kernel.git (drm-misc-next).
Thanks!
Maxime