OSDN Git Service

drm: Make FB_CORE to be selected if DRM fbdev emulation is enabled
authorJavier Martinez Canillas <javierm@redhat.com>
Wed, 19 Jul 2023 08:15:38 +0000 (10:15 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Sat, 22 Jul 2023 10:25:04 +0000 (12:25 +0200)
commitc242f48433e79ea8c8c9eb8d2b4a3ee340e635fb
tree2444bc48492a7cbb3210755748cb9eebee696c0c
parent55bffc8170bb5813c51a44b1f4a818ade675fe1f
drm: Make FB_CORE to be selected if DRM fbdev emulation is enabled

Now that fbdev core has been split in FB_CORE and FB, make the DRM symbol
to select the FB_CORE option if the DRM fbdev emulation layer is enabled.

This allows to disable the CONFIG_FB option if is not needed, which will
avoid the need to explicitly disable each of the legacy fbdev drivers.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230719081544.741051-5-javierm@redhat.com
drivers/gpu/drm/Kconfig