Skip to contentSkip to conversation

drm/tests: Add a missing Kconfig select

PATCH In review Thomas Hellström 3 participants 4 messages May 29, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/tests: Add a missing Kconfig select

Fix the following warning:

WARNING: unmet direct dependencies detected for DRM_DISPLAY_HDMI_STATE_HELPER
Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && DRM_DISPLAY_HELPER [=y] && DRM_DISPLAY_HDMI_HELPER [=n] Selected by [y]:
- DRM_KUNIT_TEST [=y] && HAS_IOMEM [=y] && DRM [=y] && KUNIT [=y] && MMU [=y]

Fixes 54cb39e2293b ("drm/connector: hdmi: Create an HDMI sub-state")
Cc Maxime Ripard <[email protected]>
---
 drivers/gpu/drm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/Kconfig +1 -0
index 9703429de6b9..47592b6fc868 100644
@@ -79,6 +79,7 @@ config DRM_KUNIT_TEST
 	depends on DRM && KUNIT && MMU
 	select DRM_BUDDY
 	select DRM_DISPLAY_DP_HELPER
+	select DRM_DISPLAY_HDMI_HELPER
 	select DRM_DISPLAY_HDMI_STATE_HELPER
 	select DRM_DISPLAY_HELPER
 	select DRM_EXEC
Signature · 1 line
2.44.0
Acked-by on v1 1/1
#1 lore raw

Hi,

Quoted 11 lines · Thomas Hellström

Fix the following warning:

WARNING: unmet direct dependencies detected for DRM_DISPLAY_HDMI_STATE_HELPER
Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && DRM_DISPLAY_HELPER [=y] && DRM_DISPLAY_HDMI_HELPER [=n] Selected by [y]:
- DRM_KUNIT_TEST [=y] && HAS_IOMEM [=y] && DRM [=y] && KUNIT [=y] && MMU [=y]

Fixes 54cb39e2293b ("drm/connector: hdmi: Create an HDMI sub-state")
Cc Maxime Ripard <[email protected]>
maintainer
#2 lore raw
In reply to Thomas Hellström

Hi,

Thanks for sending that patch

Quoted 11 lines · Thomas Hellström

Fix the following warning:

WARNING: unmet direct dependencies detected for DRM_DISPLAY_HDMI_STATE_HELPER
Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && DRM_DISPLAY_HELPER [=y] && DRM_DISPLAY_HDMI_HELPER [=n] Selected by [y]:
- DRM_KUNIT_TEST [=y] && HAS_IOMEM [=y] && DRM [=y] && KUNIT [=y] && MMU [=y]

Fixes 54cb39e2293b ("drm/connector: hdmi: Create an HDMI sub-state")
Cc Maxime Ripard <[email protected]>

I already sent a fix for that one, and just merged it:
https://lore.kernel.org/r/[email protected]

Let me know if it doesn't fix it for you

Maxime

#3 lore raw
Quoted 21 lines · Maxime Ripard

Hi,

Thanks for sending that patch

Quoted 10 lines · Thomas Hellström

Fix the following warning:

WARNING: unmet direct dependencies detected for DRM_DISPLAY_HDMI_STATE_HELPER
  Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && DRM_DISPLAY_HELPER [=y] && DRM_DISPLAY_HDMI_HELPER [=n]
  Selected by [y]:
  - DRM_KUNIT_TEST [=y] && HAS_IOMEM [=y] && DRM [=y] && KUNIT [=y] && MMU [=y]

Quoted 5 lines
Fixes 54cb39e2293b ("drm/connector: hdmi: Create an HDMI sub-

state")
Cc: Maxime Ripard <[email protected]>
Cc: [email protected]

Quoted 6 lines

I already sent a fix for that one, and just merged it:
https://lore.kernel.org/r/[email protected]

Let me know if it doesn't fix it for you

Maxime

Ah, great. It blocked the xe CI but this should hopefully fix it.

Thanks,
Thomas