Commit a4a072d9 authored by Michal Suchanek's avatar Michal Suchanek Committed by Thomas Zimmermann

sysfb: Make config option dependencies explicit

efifb and vesafb requires sysfb implicitly but this is not stated in
Kconfig. Add the dependency.

With that all drivers that require sysfb depend on it so it can default
to disabled.
Signed-off-by: default avatarMichal Suchanek <msuchanek@suse.de>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/a0fa41e9186653e4c41ad0a28259e5cdc71b1f66.1645822213.git.msuchanek@suse.de
parent 09077bc3
...@@ -218,12 +218,11 @@ config QCOM_SCM_DOWNLOAD_MODE_DEFAULT ...@@ -218,12 +218,11 @@ config QCOM_SCM_DOWNLOAD_MODE_DEFAULT
config SYSFB config SYSFB
bool bool
default y
depends on X86 || EFI
config SYSFB_SIMPLEFB config SYSFB_SIMPLEFB
bool "Mark VGA/VBE/EFI FB as generic system framebuffer" bool "Mark VGA/VBE/EFI FB as generic system framebuffer"
depends on SYSFB depends on X86 || EFI
select SYSFB
help help
Firmwares often provide initial graphics framebuffers so the BIOS, Firmwares often provide initial graphics framebuffers so the BIOS,
bootloader or kernel can show basic video-output during boot for bootloader or kernel can show basic video-output during boot for
......
...@@ -628,6 +628,7 @@ config FB_VESA ...@@ -628,6 +628,7 @@ config FB_VESA
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select FB_BOOT_VESA_SUPPORT select FB_BOOT_VESA_SUPPORT
select SYSFB
help help
This is the frame buffer device driver for generic VESA 2.0 This is the frame buffer device driver for generic VESA 2.0
compliant graphic cards. The older VESA 1.2 cards are not supported. compliant graphic cards. The older VESA 1.2 cards are not supported.
...@@ -641,6 +642,7 @@ config FB_EFI ...@@ -641,6 +642,7 @@ config FB_EFI
select FB_CFB_FILLRECT select FB_CFB_FILLRECT
select FB_CFB_COPYAREA select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT select FB_CFB_IMAGEBLIT
select SYSFB
help help
This is the EFI frame buffer device driver. If the firmware on This is the EFI frame buffer device driver. If the firmware on
your platform is EFI 1.10 or UEFI 2.0, select Y to add support for your platform is EFI 1.10 or UEFI 2.0, select Y to add support for
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment