Skip to contentSkip to conversation

drm: Make fbdev emulation depend on FB_CORE instead of FB

RFC PATCH In review Javier Martinez Canillas 1 participant 1 message Aug 27, 2021

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

RFC PATCH 4/4 drm: Make fbdev emulation depend on FB_CORE instead of FB

Now that the fbdev core has been split in FB_CORE and FB, make DRM fbdev emulation layer to just depend on the former.

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

---

 drivers/gpu/drm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/Kconfig +1 -1
index 8fc40317f2b..7806adb02f1 100644
@@ -103,7 +103,7 @@ 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
+	depends on FB_CORE
 	select DRM_KMS_HELPER
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
Signature · 1 line
2.31.1