mirror of
https://github.com/torvalds/linux.git
synced 2026-05-13 08:39:31 +02:00
Add corebootdrm, a DRM driver for coreboot framebuffers. The driver supports a pre-initialized framebuffer with various packed RGB formats. The driver code is fairly small and uses the same logic as the other sysfb drivers. Most of the implementation comes from existing sysfb helpers. Until now, coreboot relied on simpledrm or simplefb for boot-up graphics output. Initialize the platform device for corebootdrm in the same place in framebuffer_probe(). With a later commit, the simple-framebuffer should be removed. v4: - sort include statements (Tzung-Bi) v3: - comment on _HAS_LFB semantics (Tzung-Bi) - fix typo in commit description (Tzung-Bi) - comment on simple-framebuffer being obsolete for coreboot v2: - reimplement as platform driver - limit resources and mappings to known framebuffer memory; no page alignment - create corebootdrm device from coreboot framebuffer code Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Acked-by: Julius Werner <jwerner@chromium.org> Acked-by: Tzung-Bi Shih <tzungbi@kernel.org> # coreboot Link: https://patch.msgid.link/20260217155836.96267-12-tzimmermann@suse.de
14 lines
423 B
Makefile
14 lines
423 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
drm_sysfb_helper-y := \
|
|
drm_sysfb.o \
|
|
drm_sysfb_modeset.o
|
|
drm_sysfb_helper-$(CONFIG_SCREEN_INFO) += drm_sysfb_screen_info.o
|
|
obj-$(CONFIG_DRM_SYSFB_HELPER) += drm_sysfb_helper.o
|
|
|
|
obj-$(CONFIG_DRM_COREBOOTDRM) += corebootdrm.o
|
|
obj-$(CONFIG_DRM_EFIDRM) += efidrm.o
|
|
obj-$(CONFIG_DRM_OFDRM) += ofdrm.o
|
|
obj-$(CONFIG_DRM_SIMPLEDRM) += simpledrm.o
|
|
obj-$(CONFIG_DRM_VESADRM) += vesadrm.o
|