simpledrm problem: Kconfig:error: recursive dependency detected!

Noralf Trønnes noralf at tronnes.org
Wed Aug 3 18:48:00 UTC 2016


Hi,

I have changed simpledrm to use drm_simple_kms_helper and now I'm
facing this:

drivers/video/fbdev/Kconfig:5:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt

drivers/video/fbdev/Kconfig:5:  symbol FB is selected by DRM_KMS_FB_HELPER

drivers/gpu/drm/Kconfig:42:     symbol DRM_KMS_FB_HELPER depends on 
DRM_KMS_HELPER

drivers/gpu/drm/Kconfig:36:     symbol DRM_KMS_HELPER is selected by 
DRM_SIMPLEDRM

drivers/gpu/drm/simpledrm/Kconfig:1:    symbol DRM_SIMPLEDRM depends on 
FB_SIMPLE

drivers/video/fbdev/Kconfig:2428:       symbol FB_SIMPLE depends on FB


Using this Kconfig:

config DRM_SIMPLEDRM
     tristate "Simple firmware framebuffer DRM driver"
     depends on DRM && (FB_SIMPLE = n)
     select DRM_KMS_HELPER


Is there a solution to this apart from depending on DRM_KMS_HELPER or
removing the FB_SIMPLE dependency?

video/ is before gpu/ in drivers/Makefile, so having both simpledrm and
simplefb selected, I guess simplefb will be the one that's used?


Noralf.



More information about the dri-devel mailing list