1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Video configuration 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 61da177e4SLinus Torvaldsmenu "Console display driver support" 71da177e4SLinus Torvalds 81da177e4SLinus Torvaldsconfig VGA_CONSOLE 96a108a14SDavid Rientjes bool "VGA text console" if EXPERT || !X86 10110684d5SLukas Bulwahn depends on ALPHA || X86 || \ 11e9e3300bSArnd Bergmann (ARM && ARCH_FOOTBRIDGE) || \ 12e9e3300bSArnd Bergmann (MIPS && (MIPS_MALTA || SIBYTE_BCM112X || SIBYTE_SB1250 || SIBYTE_BCM1x80 || SNI_RM)) 137283f862SThomas Zimmermann select APERTURE_HELPERS if (DRM || FB || VFIO_PCI_CORE) 141da177e4SLinus Torvalds default y 151da177e4SLinus Torvalds help 161da177e4SLinus Torvalds Saying Y here will allow you to use Linux in text mode through a 171da177e4SLinus Torvalds display that complies with the generic VGA standard. Virtually 181da177e4SLinus Torvalds everyone wants that. 191da177e4SLinus Torvalds 201da177e4SLinus Torvalds The program SVGATextMode can be used to utilize SVGA video cards to 211da177e4SLinus Torvalds their full potential in text mode. Download it from 221da177e4SLinus Torvalds <ftp://ibiblio.org/pub/Linux/utils/console/>. 231da177e4SLinus Torvalds 241da177e4SLinus Torvalds Say Y. 251da177e4SLinus Torvalds 261da177e4SLinus Torvaldsconfig MDA_CONSOLE 27*5bbcc764SArnd Bergmann depends on VGA_CONSOLE && ISA 2855ec4c3cSKees Cook tristate "MDA text console (dual-headed)" 29a7f7f624SMasahiro Yamada help 301da177e4SLinus Torvalds Say Y here if you have an old MDA or monochrome Hercules graphics 311da177e4SLinus Torvalds adapter in your system acting as a second head ( = video card). You 321da177e4SLinus Torvalds will then be able to use two monitors with your Linux system. Do not 331da177e4SLinus Torvalds say Y here if your MDA card is the primary card in your system; the 341da177e4SLinus Torvalds normal VGA driver will handle it. 351da177e4SLinus Torvalds 361da177e4SLinus Torvalds To compile this driver as a module, choose M here: the 371da177e4SLinus Torvalds module will be called mdacon. 381da177e4SLinus Torvalds 391da177e4SLinus Torvalds If unsure, say N. 401da177e4SLinus Torvalds 411da177e4SLinus Torvaldsconfig SGI_NEWPORT_CONSOLE 421da177e4SLinus Torvalds tristate "SGI Newport Console support" 430a3994f9SFarhan Ali depends on SGI_IP22 && HAS_IOMEM 44d1e183c8SGeert Uytterhoeven select FONT_SUPPORT 451da177e4SLinus Torvalds help 461da177e4SLinus Torvalds Say Y here if you want the console on the Newport aka XL graphics 471da177e4SLinus Torvalds card of your Indy. Most people say Y here. 481da177e4SLinus Torvalds 491da177e4SLinus Torvaldsconfig DUMMY_CONSOLE 504027c31dSArnd Bergmann def_bool VT || VGA_CONSOLE || FRAMEBUFFER_CONSOLE 511da177e4SLinus Torvalds 521da177e4SLinus Torvaldsconfig DUMMY_CONSOLE_COLUMNS 531da177e4SLinus Torvalds int "Initial number of console screen columns" 54beefaba1SArnd Bergmann depends on DUMMY_CONSOLE && !(ARCH_FOOTBRIDGE && VGA_CONSOLE) 558f5b1e65SGeert Uytterhoeven default 160 if PARISC 568f5b1e65SGeert Uytterhoeven default 80 571da177e4SLinus Torvalds help 588f5b1e65SGeert Uytterhoeven On PA-RISC, the default value is 160, which should fit a 1280x1024 598f5b1e65SGeert Uytterhoeven monitor. 601da177e4SLinus Torvalds Select 80 if you use a 640x480 resolution by default. 611da177e4SLinus Torvalds 621da177e4SLinus Torvaldsconfig DUMMY_CONSOLE_ROWS 631da177e4SLinus Torvalds int "Initial number of console screen rows" 64beefaba1SArnd Bergmann depends on DUMMY_CONSOLE && !(ARCH_FOOTBRIDGE && VGA_CONSOLE) 658f5b1e65SGeert Uytterhoeven default 64 if PARISC 664293b092SArnd Bergmann default 30 if ARM 678f5b1e65SGeert Uytterhoeven default 25 681da177e4SLinus Torvalds help 698f5b1e65SGeert Uytterhoeven On PA-RISC, the default value is 64, which should fit a 1280x1024 708f5b1e65SGeert Uytterhoeven monitor. 711da177e4SLinus Torvalds Select 25 if you use a 640x480 resolution by default. 721da177e4SLinus Torvalds 731da177e4SLinus Torvaldsconfig FRAMEBUFFER_CONSOLE 746104c370SDaniel Vetter bool "Framebuffer Console support" 7555bffc81SJavier Martinez Canillas depends on FB_CORE && !UML 76bb6c4507SArnd Bergmann default DRM_FBDEV_EMULATION 77765d5b9cSDavid Herrmann select VT_HW_CONSOLE_BINDING 781da177e4SLinus Torvalds select CRC32 79d1e183c8SGeert Uytterhoeven select FONT_SUPPORT 80e65c0850SRandy.Dunlap help 81e65c0850SRandy.Dunlap Low-level framebuffer-based console driver. 821da177e4SLinus Torvalds 83a3f781a9SHelge Dellerconfig FRAMEBUFFER_CONSOLE_LEGACY_ACCELERATION 84a3f781a9SHelge Deller bool "Enable legacy fbcon hardware acceleration code" 85a3f781a9SHelge Deller depends on FRAMEBUFFER_CONSOLE 86a3f781a9SHelge Deller default y if PARISC 87a3f781a9SHelge Deller default n 88a3f781a9SHelge Deller help 89a3f781a9SHelge Deller This option enables the fbcon (framebuffer text-based) hardware 90a3f781a9SHelge Deller acceleration for graphics drivers which were written for the fbdev 91a3f781a9SHelge Deller graphics interface. 92a3f781a9SHelge Deller 93a3f781a9SHelge Deller On modern machines, on mainstream machines (like x86-64) or when 94a3f781a9SHelge Deller using a modern Linux distribution those fbdev drivers usually aren't used. 95a3f781a9SHelge Deller So enabling this option wouldn't have any effect, which is why you want 96a3f781a9SHelge Deller to disable this option on such newer machines. 97a3f781a9SHelge Deller 98a3f781a9SHelge Deller If you compile this kernel for older machines which still require the 99a3f781a9SHelge Deller fbdev drivers, you may want to say Y. 100a3f781a9SHelge Deller 101a3f781a9SHelge Deller If unsure, select n. 102a3f781a9SHelge Deller 103623e71b0SAntonino A. Daplasconfig FRAMEBUFFER_CONSOLE_DETECT_PRIMARY 104623e71b0SAntonino A. Daplas bool "Map the console to the primary display device" 105afd1db16SAntonino A. Daplas depends on FRAMEBUFFER_CONSOLE 106623e71b0SAntonino A. Daplas default n 107a7f7f624SMasahiro Yamada help 108623e71b0SAntonino A. Daplas If this option is selected, the framebuffer console will 109623e71b0SAntonino A. Daplas automatically select the primary display device (if the architecture 110623e71b0SAntonino A. Daplas supports this feature). Otherwise, the framebuffer console will 111623e71b0SAntonino A. Daplas always select the first framebuffer driver that is loaded. The latter 112623e71b0SAntonino A. Daplas is the default behavior. 113623e71b0SAntonino A. Daplas 114623e71b0SAntonino A. Daplas You can always override the automatic selection of the primary device 115623e71b0SAntonino A. Daplas by using the fbcon=map: boot option. 116623e71b0SAntonino A. Daplas 117623e71b0SAntonino A. Daplas If unsure, select n. 118623e71b0SAntonino A. Daplas 119e4fc2761SAntonino A. Daplasconfig FRAMEBUFFER_CONSOLE_ROTATION 120e4fc2761SAntonino A. Daplas bool "Framebuffer Console Rotation" 121e4fc2761SAntonino A. Daplas depends on FRAMEBUFFER_CONSOLE 122e4fc2761SAntonino A. Daplas help 123e4fc2761SAntonino A. Daplas Enable display rotation for the framebuffer console. This is done 124e4fc2761SAntonino A. Daplas in software and may be significantly slower than a normally oriented 125e4fc2761SAntonino A. Daplas display. Note that the rotation is done at the console level only 126e4fc2761SAntonino A. Daplas such that other users of the framebuffer will remain normally 127e4fc2761SAntonino A. Daplas oriented. 128e4fc2761SAntonino A. Daplas 12983d83bebSHans de Goedeconfig FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER 13083d83bebSHans de Goede bool "Framebuffer Console Deferred Takeover" 13115f4c357SHans de Goede depends on FB=y && FRAMEBUFFER_CONSOLE && DUMMY_CONSOLE 13283d83bebSHans de Goede help 13383d83bebSHans de Goede If enabled this defers the framebuffer console taking over the 13483d83bebSHans de Goede console from the dummy console until the first text is displayed on 13583d83bebSHans de Goede the console. This is useful in combination with the "quiet" kernel 13683d83bebSHans de Goede commandline option to keep the framebuffer contents initially put up 13783d83bebSHans de Goede by the firmware in place, rather then replacing the contents with a 13883d83bebSHans de Goede black screen as soon as fbcon loads. 13983d83bebSHans de Goede 1401da177e4SLinus Torvaldsconfig STI_CONSOLE 1411eb51c36SKyle McMartin bool "STI text console" 1420a3994f9SFarhan Ali depends on PARISC && HAS_IOMEM 143d1e183c8SGeert Uytterhoeven select FONT_SUPPORT 1447ff3f14dSHelge Deller select CRC32 14574708497SThomas Zimmermann select STI_CORE 1461da177e4SLinus Torvalds default y 1471da177e4SLinus Torvalds help 1481da177e4SLinus Torvalds The STI console is the builtin display/keyboard on HP-PARISC 1491da177e4SLinus Torvalds machines. Say Y here to build support for it into your kernel. 1501da177e4SLinus Torvalds The alternative is to use your primary serial port as a console. 1511da177e4SLinus Torvalds 1521da177e4SLinus Torvaldsendmenu 1531da177e4SLinus Torvalds 154