18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Video configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cimenu "Console display driver support"
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciconfig VGA_CONSOLE
98c2ecf20Sopenharmony_ci	bool "VGA text console" if EXPERT || !X86
108c2ecf20Sopenharmony_ci	depends on !4xx && !PPC_8xx && !SPARC && !M68K && !PARISC &&  !SUPERH && \
118c2ecf20Sopenharmony_ci		(!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR || ARCH_NETWINDER) && \
128c2ecf20Sopenharmony_ci		!ARM64 && !ARC && !MICROBLAZE && !OPENRISC && !NDS32 && !S390
138c2ecf20Sopenharmony_ci	default y
148c2ecf20Sopenharmony_ci	help
158c2ecf20Sopenharmony_ci	  Saying Y here will allow you to use Linux in text mode through a
168c2ecf20Sopenharmony_ci	  display that complies with the generic VGA standard. Virtually
178c2ecf20Sopenharmony_ci	  everyone wants that.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci	  The program SVGATextMode can be used to utilize SVGA video cards to
208c2ecf20Sopenharmony_ci	  their full potential in text mode. Download it from
218c2ecf20Sopenharmony_ci	  <ftp://ibiblio.org/pub/Linux/utils/console/>.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci	  Say Y.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig MDA_CONSOLE
268c2ecf20Sopenharmony_ci	depends on !M68K && !PARISC && ISA
278c2ecf20Sopenharmony_ci	tristate "MDA text console (dual-headed)"
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  Say Y here if you have an old MDA or monochrome Hercules graphics
308c2ecf20Sopenharmony_ci	  adapter in your system acting as a second head ( = video card). You
318c2ecf20Sopenharmony_ci	  will then be able to use two monitors with your Linux system. Do not
328c2ecf20Sopenharmony_ci	  say Y here if your MDA card is the primary card in your system; the
338c2ecf20Sopenharmony_ci	  normal VGA driver will handle it.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
368c2ecf20Sopenharmony_ci	  module will be called mdacon.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci	  If unsure, say N.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciconfig SGI_NEWPORT_CONSOLE
418c2ecf20Sopenharmony_ci	tristate "SGI Newport Console support"
428c2ecf20Sopenharmony_ci	depends on SGI_IP22 && HAS_IOMEM
438c2ecf20Sopenharmony_ci	select FONT_SUPPORT
448c2ecf20Sopenharmony_ci	help
458c2ecf20Sopenharmony_ci	  Say Y here if you want the console on the Newport aka XL graphics
468c2ecf20Sopenharmony_ci	  card of your Indy.  Most people say Y here.
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciconfig DUMMY_CONSOLE
498c2ecf20Sopenharmony_ci	bool
508c2ecf20Sopenharmony_ci	default y
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig DUMMY_CONSOLE_COLUMNS
538c2ecf20Sopenharmony_ci	int "Initial number of console screen columns"
548c2ecf20Sopenharmony_ci	depends on DUMMY_CONSOLE && !ARM
558c2ecf20Sopenharmony_ci	default 160 if PARISC
568c2ecf20Sopenharmony_ci	default 80
578c2ecf20Sopenharmony_ci	help
588c2ecf20Sopenharmony_ci	  On PA-RISC, the default value is 160, which should fit a 1280x1024
598c2ecf20Sopenharmony_ci	  monitor.
608c2ecf20Sopenharmony_ci	  Select 80 if you use a 640x480 resolution by default.
618c2ecf20Sopenharmony_ci
628c2ecf20Sopenharmony_ciconfig DUMMY_CONSOLE_ROWS
638c2ecf20Sopenharmony_ci	int "Initial number of console screen rows"
648c2ecf20Sopenharmony_ci	depends on DUMMY_CONSOLE && !ARM
658c2ecf20Sopenharmony_ci	default 64 if PARISC
668c2ecf20Sopenharmony_ci	default 25
678c2ecf20Sopenharmony_ci	help
688c2ecf20Sopenharmony_ci	  On PA-RISC, the default value is 64, which should fit a 1280x1024
698c2ecf20Sopenharmony_ci	  monitor.
708c2ecf20Sopenharmony_ci	  Select 25 if you use a 640x480 resolution by default.
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ciconfig FRAMEBUFFER_CONSOLE
738c2ecf20Sopenharmony_ci	bool "Framebuffer Console support"
748c2ecf20Sopenharmony_ci	depends on FB && !UML
758c2ecf20Sopenharmony_ci	select VT_HW_CONSOLE_BINDING
768c2ecf20Sopenharmony_ci	select CRC32
778c2ecf20Sopenharmony_ci	select FONT_SUPPORT
788c2ecf20Sopenharmony_ci	help
798c2ecf20Sopenharmony_ci	  Low-level framebuffer-based console driver.
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ciconfig FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION
828c2ecf20Sopenharmony_ci	bool "Enable legacy fbcon hardware acceleration code"
838c2ecf20Sopenharmony_ci	depends on FRAMEBUFFER_CONSOLE
848c2ecf20Sopenharmony_ci	default y if PARISC
858c2ecf20Sopenharmony_ci	default n
868c2ecf20Sopenharmony_ci	help
878c2ecf20Sopenharmony_ci	  This option enables the fbcon (framebuffer text-based) hardware
888c2ecf20Sopenharmony_ci	  acceleration for graphics drivers which were written for the fbdev
898c2ecf20Sopenharmony_ci	  graphics interface.
908c2ecf20Sopenharmony_ci
918c2ecf20Sopenharmony_ci	  On modern machines, on mainstream machines (like x86-64) or when
928c2ecf20Sopenharmony_ci	  using a modern Linux distribution those fbdev drivers usually aren't used.
938c2ecf20Sopenharmony_ci	  So enabling this option wouldn't have any effect, which is why you want
948c2ecf20Sopenharmony_ci	  to disable this option on such newer machines.
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci	  If you compile this kernel for older machines which still require the
978c2ecf20Sopenharmony_ci	  fbdev drivers, you may want to say Y.
988c2ecf20Sopenharmony_ci
998c2ecf20Sopenharmony_ci	  If unsure, select n.
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ciconfig FRAMEBUFFER_CONSOLE_DETECT_PRIMARY
1028c2ecf20Sopenharmony_ci       bool "Map the console to the primary display device"
1038c2ecf20Sopenharmony_ci       depends on FRAMEBUFFER_CONSOLE
1048c2ecf20Sopenharmony_ci       default n
1058c2ecf20Sopenharmony_ci	help
1068c2ecf20Sopenharmony_ci	 If this option is selected, the framebuffer console will
1078c2ecf20Sopenharmony_ci	 automatically select the primary display device (if the architecture
1088c2ecf20Sopenharmony_ci	 supports this feature).  Otherwise, the framebuffer console will
1098c2ecf20Sopenharmony_ci	 always select the first framebuffer driver that is loaded. The latter
1108c2ecf20Sopenharmony_ci	 is the default behavior.
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci	 You can always override the automatic selection of the primary device
1138c2ecf20Sopenharmony_ci	 by using the fbcon=map: boot option.
1148c2ecf20Sopenharmony_ci
1158c2ecf20Sopenharmony_ci	 If unsure, select n.
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ciconfig FRAMEBUFFER_CONSOLE_ROTATION
1188c2ecf20Sopenharmony_ci       bool "Framebuffer Console Rotation"
1198c2ecf20Sopenharmony_ci       depends on FRAMEBUFFER_CONSOLE
1208c2ecf20Sopenharmony_ci       help
1218c2ecf20Sopenharmony_ci	 Enable display rotation for the framebuffer console.  This is done
1228c2ecf20Sopenharmony_ci	 in software and may be significantly slower than a normally oriented
1238c2ecf20Sopenharmony_ci	 display.  Note that the rotation is done at the console level only
1248c2ecf20Sopenharmony_ci	 such that other users of the framebuffer will remain normally
1258c2ecf20Sopenharmony_ci	 oriented.
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ciconfig FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER
1288c2ecf20Sopenharmony_ci	bool "Framebuffer Console Deferred Takeover"
1298c2ecf20Sopenharmony_ci	depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE
1308c2ecf20Sopenharmony_ci	help
1318c2ecf20Sopenharmony_ci	  If enabled this defers the framebuffer console taking over the
1328c2ecf20Sopenharmony_ci	  console from the dummy console until the first text is displayed on
1338c2ecf20Sopenharmony_ci	  the console. This is useful in combination with the "quiet" kernel
1348c2ecf20Sopenharmony_ci	  commandline option to keep the framebuffer contents initially put up
1358c2ecf20Sopenharmony_ci	  by the firmware in place, rather then replacing the contents with a
1368c2ecf20Sopenharmony_ci	  black screen as soon as fbcon loads.
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ciconfig STI_CONSOLE
1398c2ecf20Sopenharmony_ci	bool "STI text console"
1408c2ecf20Sopenharmony_ci	depends on PARISC && HAS_IOMEM
1418c2ecf20Sopenharmony_ci	select FONT_SUPPORT
1428c2ecf20Sopenharmony_ci	select CRC32
1438c2ecf20Sopenharmony_ci	default y
1448c2ecf20Sopenharmony_ci	help
1458c2ecf20Sopenharmony_ci	  The STI console is the builtin display/keyboard on HP-PARISC
1468c2ecf20Sopenharmony_ci	  machines.  Say Y here to build support for it into your kernel.
1478c2ecf20Sopenharmony_ci	  The alternative is to use your primary serial port as a console.
1488c2ecf20Sopenharmony_ci
1498c2ecf20Sopenharmony_ciendmenu
1508c2ecf20Sopenharmony_ci
151