]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/firmware: move x86 Generic System Framebuffers support
authorJavier Martinez Canillas <javierm@redhat.com>
Fri, 25 Jun 2021 13:09:46 +0000 (15:09 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 21 Jul 2021 10:04:56 +0000 (12:04 +0200)
commit443600efbc0f0ccbbd128bf6d00d00652c3c480e
tree3988519a245873dcc3311434ad89f438a952e26a
parent5de760d02410fba82fd1b24f03ae9c5fd5115295
drivers/firmware: move x86 Generic System Framebuffers support

The x86 architecture has generic support to register a system framebuffer
platform device. It either registers a "simple-framebuffer" if the config
option CONFIG_X86_SYSFB is enabled, or a legacy VGA/VBE/EFI FB device.

But the code is generic enough to be reused by other architectures and can
be moved out of the arch/x86 directory.

This will allow to also support the simple{fb,drm} drivers on non-x86 EFI
platforms, such as aarch64 where these drivers are only supported with DT.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210625130947.1803678-2-javierm@redhat.com
13 files changed:
arch/x86/Kconfig
arch/x86/include/asm/sysfb.h [deleted file]
arch/x86/kernel/Makefile
arch/x86/kernel/sysfb.c [deleted file]
arch/x86/kernel/sysfb_efi.c [deleted file]
arch/x86/kernel/sysfb_simplefb.c [deleted file]
drivers/firmware/Kconfig
drivers/firmware/Makefile
drivers/firmware/efi/Makefile
drivers/firmware/efi/sysfb_efi.c [new file with mode: 0644]
drivers/firmware/sysfb.c [new file with mode: 0644]
drivers/firmware/sysfb_simplefb.c [new file with mode: 0644]
include/linux/sysfb.h [new file with mode: 0644]