[snip] > > What about this proposal: > a) adding a Kconfig option like: > CONFIG_FB_DRIVERS - enable if you need the fbdev drivers. For DRM-only > this should be disabled. > b) Add to every native fbdev driver a "depends on FB_DRIVERS" in the Kconfig > files. > c) That way we can use "#if defined(CONFIG_FB_DRIVERS).." to exclude code in > fbcon which > isn't needed by DRM. >
I proposed something similar in: https://lore.kernel.org/lkml/20210827100027.1577561-1-javi...@redhat.com/t/ Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat