We used to protect X86_SYSFB by depending on FB_SIMPLE so users don't
accidentally end up without a kernel console. Now that DRM_SIMPLEDRM also
provides a simple-framebuffer driver, we can whitelist this driver, too.
---
 arch/x86/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 93df439..f3eae6a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -2299,7 +2299,7 @@ source "drivers/rapidio/Kconfig"

 config X86_SYSFB
        bool "Mark VGA/VBE/EFI FB as generic system framebuffer"
-       depends on FB_SIMPLE
+       depends on FB_SIMPLE || DRM_SIMPLEDRM
        select SYSFB
        help
          Firmwares often provide initial graphics framebuffers so the BIOS,
-- 
1.8.5.3

Reply via email to