Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

firmware: coreboot: framebuffer: Allow building with simpledrm

The coreboot framebuffer driver registers a "simple-framebuffer" device
based on the information from the firmware, after checking that it's
compatible with the formats listed in simplefb.h. It was added before
simpledrm, and its Kconfig marked as dependent on the simplefb driver.

The simpledrm driver can also handle "simple-framebuffer" devices and
the coreboot framebuffer works fine with it on a 'Lick' Chromebook.
Allow building the coreboot framebuffer driver with simpledrm as well.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Link: https://lore.kernel.org/r/20230725174334.887485-1-alpernebiyasak@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Alper Nebi Yasak and committed by
Greg Kroah-Hartman
dff054e6 8306d6f3

+1 -1
+1 -1
drivers/firmware/google/Kconfig
··· 59 59 60 60 config GOOGLE_FRAMEBUFFER_COREBOOT 61 61 tristate "Coreboot Framebuffer" 62 - depends on FB_SIMPLE 62 + depends on FB_SIMPLE || DRM_SIMPLEDRM 63 63 depends on GOOGLE_COREBOOT_TABLE 64 64 help 65 65 This option enables the kernel to search for a framebuffer in