mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 15:34:48 +08:00
7470849745
STI core files have been located in console and fbdev code. Move the source code and header to the directories for video helpers. Also update the config and build rules such that the code depends on the config symbol CONFIG_STI_CORE, which STI console and STI framebuffer select automatically. Cleans up the console makefile and prepares PARISC to implement fb_is_primary_device() within the arch/ directory. No functional changes. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Helge Deller <deller@gmx.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230417125651.25126-12-tzimmermann@suse.de
71 lines
1.1 KiB
Plaintext
71 lines
1.1 KiB
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.
|
|
|
|
config STI_CORE
|
|
bool
|
|
depends on PARISC
|
|
help
|
|
STI refers to the HP "Standard Text Interface" which is a set of
|
|
BIOS routines contained in a ROM chip in HP PA-RISC based machines.
|
|
|
|
config VIDEO_CMDLINE
|
|
bool
|
|
|
|
config VIDEO_NOMODESET
|
|
bool
|
|
default n
|
|
|
|
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
|