Commit 319251c5 authored by Thomas Zimmermann's avatar Thomas Zimmermann
Browse files

drm: Move sysfb drivers into separate subdirectory



The ofdrm and simpledrm drivers are special as they operate on
externally provided framebuffers. Move them into their own sub-
directory. Will let them share common code.

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarJavier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20250401094056.32904-5-tzimmermann@suse.de
parent b2033b64
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7237,8 +7237,7 @@ M: Javier Martinez Canillas <javierm@redhat.com>
L:	dri-devel@lists.freedesktop.org
S:	Maintained
T:	git https://gitlab.freedesktop.org/drm/misc/kernel.git
F:	drivers/gpu/drm/tiny/ofdrm.c
F:	drivers/gpu/drm/tiny/simpledrm.c
F:	drivers/gpu/drm/sysfb/
F:	drivers/video/aperture.c
F:	drivers/video/nomodeset.c
F:	include/linux/aperture.h
+2 −0
Original line number Diff line number Diff line
@@ -255,6 +255,8 @@ config DRM_SCHED
	tristate
	depends on DRM

source "drivers/gpu/drm/sysfb/Kconfig"

source "drivers/gpu/drm/arm/Kconfig"

source "drivers/gpu/drm/radeon/Kconfig"
+1 −0
Original line number Diff line number Diff line
@@ -204,6 +204,7 @@ obj-$(CONFIG_DRM_FSL_DCU) += fsl-dcu/
obj-$(CONFIG_DRM_ETNAVIV) += etnaviv/
obj-y			+= hisilicon/
obj-y			+= mxsfb/
obj-y			+= sysfb/
obj-y			+= tiny/
obj-$(CONFIG_DRM_PL111) += pl111/
obj-$(CONFIG_DRM_TVE200) += tve200/
+38 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only

menu "Drivers for system framebuffers"
	depends on DRM

config DRM_OFDRM
	tristate "Open Firmware display driver"
	depends on DRM && MMU && OF && (PPC || COMPILE_TEST)
	select APERTURE_HELPERS
	select DRM_CLIENT_SELECTION
	select DRM_GEM_SHMEM_HELPER
	select DRM_KMS_HELPER
	help
	  DRM driver for Open Firmware framebuffers.

	  This driver assumes that the display hardware has been initialized
	  by the Open Firmware before the kernel boots. Scanout buffer, size,
	  and display format must be provided via device tree.

config DRM_SIMPLEDRM
	tristate "Simple framebuffer driver"
	depends on DRM && MMU
	select APERTURE_HELPERS
	select DRM_CLIENT_SELECTION
	select DRM_GEM_SHMEM_HELPER
	select DRM_KMS_HELPER
	help
	  DRM driver for simple platform-provided framebuffers.

	  This driver assumes that the display hardware has been initialized
	  by the firmware or bootloader before the kernel boots. Scanout
	  buffer, size, and display format must be provided via device tree,
	  UEFI, VESA, etc.

	  On x86 BIOS or UEFI systems, you should also select SYSFB_SIMPLEFB
	  to use UEFI and VESA framebuffers.

endmenu
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only

obj-$(CONFIG_DRM_OFDRM)		+= ofdrm.o
obj-$(CONFIG_DRM_SIMPLEDRM)	+= simpledrm.o
Loading