7283f862bd
Implement DRM's aperture helpers under video/ for sharing with other sub-systems. Remove DRM-isms from the interface. The helpers track the ownership of framebuffer apertures and provide hand-over from firmware, such as EFI and VESA, to native graphics drivers. Other subsystems, such as fbdev and vfio, also have to maintain ownership of framebuffer apertures. Moving DRM's aperture helpers to a more public location allows all subsystems to interact with each other and share a common implementation. The aperture helpers are selected by the various firmware drivers within DRM and fbdev, and the VGA text-console driver. The original DRM interface is kept in place for use by DRM drivers. v3: * prefix all interfaces with aperture_ (Javier) * rework and simplify documentation (Javier) * rename struct dev_aperture to struct aperture_range * rebase onto latest DRM * update MAINTAINERS entry Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220622140134.12763-3-tzimmermann@suse.de
57 lines
844 B
Plaintext
57 lines
844 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Video configuration
|
|
#
|
|
|
|
menu "Graphics support"
|
|
|
|
config APERTURE_HELPERS
|
|
bool
|
|
help
|
|
Support tracking and hand-over of aperture ownership. Required
|
|
by graphics drivers for firmware-provided framebuffers.
|
|
|
|
if HAS_IOMEM
|
|
|
|
config HAVE_FB_ATMEL
|
|
bool
|
|
|
|
source "drivers/char/agp/Kconfig"
|
|
|
|
source "drivers/gpu/vga/Kconfig"
|
|
|
|
source "drivers/gpu/host1x/Kconfig"
|
|
source "drivers/gpu/ipu-v3/Kconfig"
|
|
|
|
source "drivers/gpu/drm/Kconfig"
|
|
|
|
menu "Frame buffer Devices"
|
|
source "drivers/video/fbdev/Kconfig"
|
|
endmenu
|
|
|
|
source "drivers/video/backlight/Kconfig"
|
|
|
|
config VGASTATE
|
|
tristate
|
|
default n
|
|
|
|
config VIDEOMODE_HELPERS
|
|
bool
|
|
|
|
config HDMI
|
|
bool
|
|
|
|
endif # HAS_IOMEM
|
|
|
|
if VT
|
|
source "drivers/video/console/Kconfig"
|
|
endif
|
|
|
|
if FB || SGI_NEWPORT_CONSOLE
|
|
source "drivers/video/logo/Kconfig"
|
|
|
|
endif
|
|
|
|
|
|
endmenu
|