drm/client: Fix drm client endless Kconfig loop
Subsystems (2)
PATCH 1/1 drm/client: Fix drm client endless Kconfig loop
if DRM_CLIENT_SELECTION is enabled, and none of the client is, the "Default DRM Client" choice is empty, and this makes Kconfig goes into an infinite loop of:
Default DRM Client
choice[1-0?]: 0
Default DRM Client
choice[1-0?]: 0
Default DRM Client
choice[1-0?]: 0
....
So only allow the choice if at least one of the client is selected.
--- drivers/gpu/drm/clients/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/clients/Kconfig +1 -0
@@ -87,6 +87,7 @@ config DRM_CLIENT_LOG choice prompt "Default DRM Client" depends on DRM_CLIENT_SELECTION + depends on DRM_FBDEV_EMULATION || DRM_CLIENT_LOG default DRM_CLIENT_DEFAULT_FBDEV help Selects the default drm client.
base-commit: 19851fa2ba9824bede16f55234f63d9423897c3d
Signature · 1 line
2.47.1
Quoted 12 lines · Jocelyn Falempe
if
DRM_CLIENT_SELECTIONis enabled, and none of the client is, the "Default DRM Client" choice is empty, and this makesKconfiggoes into an infinite loop of:Default DRM Client choice[1-0?]: 0 Default DRM Client choice[1-0?]: 0 Default DRM Client choice[1-0?]: 0 ....
Quoted 1 line
So only allow the choice if at least one of the client is selected.
I've pushed it to drm-misc-next, endless Kconfig loop is not fun for CI.
Best regards,
Signature · 1 line
Jocelyn
Quoted 23 lines
Fixes f7b42442c4ac ("drm/log: Introduce a new boot logger to draw the kmsg on the screen")Reported-by Dan Carpenter <[email protected]>Signed-off-by Jocelyn Falempe <[email protected]>Tested-by Dan Carpenter <[email protected]>--- drivers/gpu/drm/clients/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/clients/Kconfig +1
-0@@ -87,6 +87,7 @@ config DRM_CLIENT_LOG choice prompt "Default DRM Client" depends on DRM_CLIENT_SELECTION + depends on DRM_FBDEV_EMULATION || DRM_CLIENT_LOG default DRM_CLIENT_DEFAULT_FBDEV help Selects the default drm client.base-commit:
19851fa2ba9824bede16f55234f63d9423897c3d