File Index
Files and directories
Sign in
FILE

Kconfig

File preview with syntax highlighting.

linux-6.19.14/drivers/video/console/Kconfig KCONFIG
  1# SPDX-License-Identifier: GPL-2.0-only
  2#
  3# Video configuration
  4#
  5
  6menu "Console display driver support"
  7
  8config VGA_CONSOLE
  9	bool "VGA text console" if EXPERT || !X86
 10	depends on ALPHA || X86 || \
 11		(ARM && ARCH_FOOTBRIDGE) || \
 12		(MIPS && (MIPS_MALTA || SIBYTE_BCM112X || SIBYTE_SB1250 || SIBYTE_BCM1x80 || SNI_RM))
 13	select APERTURE_HELPERS if (DRM || FB || VFIO_PCI_CORE)
 14	default y
 15	help
 16	  Saying Y here will allow you to use Linux in text mode through a
 17	  display that complies with the generic VGA standard. Virtually
 18	  everyone wants that.
 19
 20	  The program SVGATextMode can be used to utilize SVGA video cards to
 21	  their full potential in text mode. Download it from
 22	  <ftp://ibiblio.org/pub/Linux/utils/console/>.
 23
 24	  Say Y.
 25
 26config MDA_CONSOLE
 27	depends on VGA_CONSOLE && ISA
 28	tristate "MDA text console (dual-headed)"
 29	help
 30	  Say Y here if you have an old MDA or monochrome Hercules graphics
 31	  adapter in your system acting as a second head ( = video card). You
 32	  will then be able to use two monitors with your Linux system. Do not
 33	  say Y here if your MDA card is the primary card in your system; the
 34	  normal VGA driver will handle it.
 35
 36	  To compile this driver as a module, choose M here: the
 37	  module will be called mdacon.
 38
 39	  If unsure, say N.
 40
 41config SGI_NEWPORT_CONSOLE
 42	tristate "SGI Newport Console support"
 43	depends on SGI_IP22 && HAS_IOMEM
 44	select FONT_SUPPORT
 45	help
 46	  Say Y here if you want the console on the Newport aka XL graphics
 47	  card of your Indy.  Most people say Y here.
 48
 49config DUMMY_CONSOLE
 50	def_bool VT || VGA_CONSOLE || FRAMEBUFFER_CONSOLE
 51
 52config DUMMY_CONSOLE_COLUMNS
 53	int "Initial number of console screen columns"
 54	depends on DUMMY_CONSOLE && !(ARCH_FOOTBRIDGE && VGA_CONSOLE)
 55	default 160 if PARISC
 56	default 80
 57	help
 58	  On PA-RISC, the default value is 160, which should fit a 1280x1024
 59	  monitor.
 60	  Select 80 if you use a 640x480 resolution by default.
 61
 62config DUMMY_CONSOLE_ROWS
 63	int "Initial number of console screen rows"
 64	depends on DUMMY_CONSOLE && !(ARCH_FOOTBRIDGE && VGA_CONSOLE)
 65	default 64 if PARISC
 66	default 30 if ARM
 67	default 25
 68	help
 69	  On PA-RISC, the default value is 64, which should fit a 1280x1024
 70	  monitor.
 71	  Select 25 if you use a 640x480 resolution by default.
 72
 73config FRAMEBUFFER_CONSOLE
 74	bool "Framebuffer Console support"
 75	depends on FB_CORE && !UML
 76	default DRM_FBDEV_EMULATION
 77	select VT_HW_CONSOLE_BINDING
 78	select CRC32
 79	select FONT_SUPPORT
 80	help
 81	  Low-level framebuffer-based console driver.
 82
 83config FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION
 84	bool "Enable legacy fbcon hardware acceleration code"
 85	depends on FRAMEBUFFER_CONSOLE
 86	default y if PARISC
 87	default n
 88	help
 89	  This option enables the fbcon (framebuffer text-based) hardware
 90	  acceleration for graphics drivers which were written for the fbdev
 91	  graphics interface.
 92
 93	  On modern machines, on mainstream machines (like x86-64) or when
 94	  using a modern Linux distribution those fbdev drivers usually aren't used.
 95	  So enabling this option wouldn't have any effect, which is why you want
 96	  to disable this option on such newer machines.
 97
 98	  If you compile this kernel for older machines which still require the
 99	  fbdev drivers, you may want to say Y.
100
101	  If unsure, select n.
102
103config FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
104       bool "Map the console to the primary display device"
105       depends on FRAMEBUFFER_CONSOLE
106       default n
107	help
108	 If this option is selected, the framebuffer console will
109	 automatically select the primary display device (if the architecture
110	 supports this feature).  Otherwise, the framebuffer console will
111	 always select the first framebuffer driver that is loaded. The latter
112	 is the default behavior.
113
114	 You can always override the automatic selection of the primary device
115	 by using the fbcon=map: boot option.
116
117	 If unsure, select n.
118
119config FRAMEBUFFER_CONSOLE_ROTATION
120       bool "Framebuffer Console Rotation"
121       depends on FRAMEBUFFER_CONSOLE
122       help
123	 Enable display rotation for the framebuffer console.  This is done
124	 in software and may be significantly slower than a normally oriented
125	 display.  Note that the rotation is done at the console level only
126	 such that other users of the framebuffer will remain normally
127	 oriented.
128
129config FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
130	bool "Framebuffer Console Deferred Takeover"
131	depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE
132	help
133	  If enabled this defers the framebuffer console taking over the
134	  console from the dummy console until the first text is displayed on
135	  the console. This is useful in combination with the "quiet" kernel
136	  commandline option to keep the framebuffer contents initially put up
137	  by the firmware in place, rather then replacing the contents with a
138	  black screen as soon as fbcon loads.
139
140config STI_CONSOLE
141	bool "STI text console"
142	depends on PARISC && HAS_IOMEM
143	select FONT_SUPPORT
144	select CRC32
145	select STI_CORE
146	default y
147	help
148	  The STI console is the builtin display/keyboard on HP-PARISC
149	  machines.  Say Y here to build support for it into your kernel.
150	  The alternative is to use your primary serial port as a console.
151
152endmenu
153
~/ Read-only file preview.