]> Git Repo - linux.git/commitdiff
drm: Avoid circular dependencies for CONFIG_FB
authorKees Cook <[email protected]>
Wed, 2 Jun 2021 21:52:50 +0000 (14:52 -0700)
committerDaniel Vetter <[email protected]>
Thu, 3 Jun 2021 08:47:44 +0000 (10:47 +0200)
When cleaning up other drm config dependencies, it is too easy to create
larger problems. Instead, mark CONFIG_FB as a "depends":

drivers/gpu/drm/Kconfig:74:error: recursive dependency detected!

Suggested-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/lkml/CAK8P3a3jUQs6c5tESSNMbqfuymewj9FhqRizyHcfOXf8Rgy-nA@mail.gmail.com/
Signed-off-by: Kees Cook <[email protected]>
[danvet: Rebase, the symbol has changed.]
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/Kconfig

index 594ac6c3a1f4b47dde0c47daaa2e1df23333f453..56a55a6e6239d525e3302cae57379e940c2fe5c8 100644 (file)
@@ -98,8 +98,8 @@ config DRM_DEBUG_DP_MST_TOPOLOGY_REFS
 config DRM_FBDEV_EMULATION
        bool "Enable legacy fbdev support for your modesetting driver"
        depends on DRM
+       depends on FB
        select DRM_KMS_HELPER
-       select FB
        select FB_CFB_FILLRECT
        select FB_CFB_COPYAREA
        select FB_CFB_IMAGEBLIT
This page took 0.061781 seconds and 4 git commands to generate.