| /kernel/linux/linux-5.10/drivers/gpu/drm/zte/ |
| D | zx_vga.c | 50 struct zx_vga *vga = to_zx_vga(encoder); in zx_vga_encoder_enable() local 51 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_enable() 53 /* Set bit to power up VGA DACs */ in zx_vga_encoder_enable() 62 struct zx_vga *vga = to_zx_vga(encoder); in zx_vga_encoder_disable() local 63 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_disable() 67 /* Clear bit to power down VGA DACs */ in zx_vga_encoder_disable() 78 struct zx_vga *vga = to_zx_vga(connector); in zx_vga_connector_get_modes() local 86 zx_writel(vga->mmio + VGA_AUTO_DETECT_SEL, 0); in zx_vga_connector_get_modes() 88 edid = drm_get_edid(connector, &vga->ddc->adap); in zx_vga_connector_get_modes() 96 zx_writel(vga->mmio + VGA_AUTO_DETECT_SEL, in zx_vga_connector_get_modes() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/zte/ |
| D | zx_vga.c | 50 struct zx_vga *vga = to_zx_vga(encoder); in zx_vga_encoder_enable() local 51 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_enable() 53 /* Set bit to power up VGA DACs */ in zx_vga_encoder_enable() 62 struct zx_vga *vga = to_zx_vga(encoder); in zx_vga_encoder_disable() local 63 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_disable() 67 /* Clear bit to power down VGA DACs */ in zx_vga_encoder_disable() 82 struct zx_vga *vga = to_zx_vga(connector); in zx_vga_connector_get_modes() local 90 zx_writel(vga->mmio + VGA_AUTO_DETECT_SEL, 0); in zx_vga_connector_get_modes() 92 edid = drm_get_edid(connector, &vga->ddc->adap); in zx_vga_connector_get_modes() 100 zx_writel(vga->mmio + VGA_AUTO_DETECT_SEL, in zx_vga_connector_get_modes() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/bridge/ |
| D | dumb-vga-dac.c | 45 struct dumb_vga *vga = drm_connector_to_dumb_vga(connector); in dumb_vga_get_modes() local 49 if (IS_ERR(vga->ddc)) in dumb_vga_get_modes() 52 edid = drm_get_edid(connector, vga->ddc); in dumb_vga_get_modes() 83 struct dumb_vga *vga = drm_connector_to_dumb_vga(connector); in dumb_vga_connector_detect() local 91 if (!IS_ERR(vga->ddc) && drm_probe_ddc(vga->ddc)) in dumb_vga_connector_detect() 108 struct dumb_vga *vga = drm_bridge_to_dumb_vga(bridge); in dumb_vga_attach() local 116 drm_connector_helper_add(&vga->connector, in dumb_vga_attach() 118 ret = drm_connector_init(bridge->dev, &vga->connector, in dumb_vga_attach() 125 drm_connector_attach_encoder(&vga->connector, in dumb_vga_attach() 133 struct dumb_vga *vga = drm_bridge_to_dumb_vga(bridge); in dumb_vga_enable() local [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | vgaarb.h | 2 * The VGA aribiter manages VGA space routing and VGA resource decode to 3 * allow multiple VGA devices to be used in a system in a safe way. 34 #include <video/vga.h> 36 /* Legacy VGA regions */ 58 * @pdev: pci device of the VGA card 61 * Indicates to the arbiter if the card decodes legacy VGA IOs, 62 * legacy VGA Memory, both, or none. All cards default to both, 84 * @pdev: pci device of the VGA card or NULL for the system default 89 * On success, release the VGA resource again with vga_put(). 99 * @pdev: pci device of the VGA card or NULL for the system default [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | vgaarb.h | 2 * The VGA aribiter manages VGA space routing and VGA resource decode to 3 * allow multiple VGA devices to be used in a system in a safe way. 34 #include <video/vga.h> 36 /* Legacy VGA regions */ 58 * @pdev: pci device of the VGA card 61 * Indicates to the arbiter if the card decodes legacy VGA IOs, 62 * legacy VGA Memory, both, or none. All cards default to both, 84 * @pdev: pci device of the VGA card or NULL for the system default 89 * On success, release the VGA resource again with vga_put(). 99 * @pdev: pci device of the VGA card or NULL for the system default [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| D | zte,vou.txt | 6 for typical output devices, like HDMI, TV Encoder, VGA, and RGB LCD. 61 * VGA output device 64 - compatible: should be "zte,zx296718-vga" 65 - reg: Physical base address and length of the VGA device IO region 66 - interrupts : VGA interrupt number to CPU 67 - clocks: Phandle with clock-specifier pointing to VGA I2C clock. 69 - zte,vga-power-control: the phandle to SYSCTRL block followed by two 71 to control VGA DAC power, and the second cell is the bit mask. 96 vga: vga@8000 { 97 compatible = "zte,zx296718-vga"; [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/ |
| D | zte,vou.txt | 6 for typical output devices, like HDMI, TV Encoder, VGA, and RGB LCD. 61 * VGA output device 64 - compatible: should be "zte,zx296718-vga" 65 - reg: Physical base address and length of the VGA device IO region 66 - interrupts : VGA interrupt number to CPU 67 - clocks: Phandle with clock-specifier pointing to VGA I2C clock. 69 - zte,vga-power-control: the phandle to SYSCTRL block followed by two 71 to control VGA DAC power, and the second cell is the bit mask. 96 vga: vga@8000 { 97 compatible = "zte,zx296718-vga"; [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/connector/ |
| D | vga-connector.txt | 1 VGA Connector 6 - compatible: "vga-connector" 11 - ddc-i2c-bus: phandle to the I2C bus that is connected to VGA DDC 15 The VGA connector internal connections are modeled using the OF graph bindings 18 The VGA connector has a single port that must be connected to a video source 26 compatible = "vga-connector"; 27 label = "vga";
|
| /kernel/linux/linux-5.10/include/video/ |
| D | vga.h | 2 * linux/include/video/vga.h -- standard VGA chipset interaction 8 * Based on VGA info at http://www.osdever.net/FreeVGA/home.htm 22 #include <asm/vga.h> 37 /* VGA data register ports */ 56 /* VGA index register ports */ 65 /* standard VGA indexes max counts */ 72 /* VGA misc register bit masks */ 79 /* VGA CRT controller register indices */ 107 /* VGA CRT controller bit masks */ 111 /* VGA attribute controller register indices */ [all …]
|
| /kernel/linux/linux-4.19/include/video/ |
| D | vga.h | 2 * linux/include/video/vga.h -- standard VGA chipset interaction 8 * Based on VGA info at http://www.osdever.net/FreeVGA/home.htm 22 #include <asm/vga.h> 37 /* VGA data register ports */ 56 /* VGA index register ports */ 65 /* standard VGA indexes max counts */ 72 /* VGA misc register bit masks */ 79 /* VGA CRT controller register indices */ 107 /* VGA CRT controller bit masks */ 111 /* VGA attribute controller register indices */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/gpu/ |
| D | vgaarbiter.rst | 2 VGA Arbiter 6 modern devices allow relocation of such ranges, some "Legacy" VGA devices 13 the legacy VGA arbitration task (besides other bus management tasks) when more 20 the operation of the VGA arbiter implemented for the Linux kernel. 26 scans all PCI devices and adds the VGA ones inside the arbitration. The 27 arbiter then enables/disables the decoding on different devices of the VGA 36 default VGA device of the system. 103 .. kernel-doc:: drivers/gpu/vga/vgaarb.c 109 To use the vga arbiter char device it was implemented an API inside the 126 These functions below acquire VGA resources for the given card and mark those [all …]
|
| D | vga-switcheroo.rst | 4 VGA Switcheroo 7 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 16 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 22 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 31 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 58 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 61 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
|
| /kernel/linux/linux-4.19/Documentation/gpu/ |
| D | vgaarbiter.rst | 2 VGA Arbiter 6 modern devices allow relocation of such ranges, some "Legacy" VGA devices 13 the legacy VGA arbitration task (besides other bus management tasks) when more 20 the operation of the VGA arbiter implemented for the Linux kernel. 26 scans all PCI devices and adds the VGA ones inside the arbitration. The 27 arbiter then enables/disables the decoding on different devices of the VGA 36 default VGA device of the system. 103 .. kernel-doc:: drivers/gpu/vga/vgaarb.c 109 To use the vga arbiter char device it was implemented an API inside the 126 These functions below acquire VGA resources for the given card and mark those [all …]
|
| D | vga-switcheroo.rst | 4 VGA Switcheroo 7 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 16 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 22 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 31 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 58 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c 61 .. kernel-doc:: drivers/gpu/vga/vga_switcheroo.c
|
| /kernel/linux/linux-4.19/Documentation/ia64/ |
| D | aliasing.txt | 107 several VGA devices. 109 "X" uses this to access VGA frame buffers. Using legacy_mem 111 different VGA cards. 169 mmap of 0x0-0x9FFFF /dev/mem by "hwinfo" on HP sx1000 with VGA enabled 173 0xA0000-0xBFFFF UC only (VGA frame buffer) 179 The kernel VGA driver may ioremap the VGA frame buffer at 0xA0000, 189 supported, as is the case with HP sx[12]000 machines with VGA 193 machines with VGA enabled), we must fail the mmap because there's no 197 that doesn't report the VGA frame buffer at all), we should fail the 200 mmap of 0xA0000-0xBFFFF legacy_mem by "X" on HP sx1000 with VGA disabled [all …]
|
| /kernel/linux/linux-4.19/Documentation/ |
| D | svga.txt | 19 Short intro for the impatient: Just use vga=ask for the first time, 22 set the vga parameter to this number (converted to decimal first). 25 specified in the kernel Makefile (the SVGA_MODE=... line) or by the "vga=..." 32 EXTENDED_VGA - Standard 8-pixel font mode: 80x43 on EGA, 80x50 on VGA. 68 -- it's either a generic adapter name (MDA, CGA, HGC, EGA, VGA, VESA VGA [a VGA 86 on the VGA BIOS). 133 0x0f01 standard with 8-point font: 80x43 on EGA, 80x50 on VGA 134 0x0f02 VGA 80x43 (VGA switched to 350 scanlines with a 8-point font) 135 0x0f03 VGA 80x28 (standard VGA scans, but 14-point font) 137 0x0f05 VGA 80x30 (480 scans, 16-point font) [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | svga.rst | 20 Short intro for the impatient: Just use vga=ask for the first time, 23 set the vga parameter to this number (converted to decimal first). 26 specified in the kernel Makefile (the SVGA_MODE=... line) or by the "vga=..." 33 EXTENDED_VGA - Standard 8-pixel font mode: 80x43 on EGA, 80x50 on VGA. 69 -- it's either a generic adapter name (MDA, CGA, HGC, EGA, VGA, VESA VGA [a VGA 87 on the VGA BIOS). 134 0x0f01 standard with 8-point font: 80x43 on EGA, 80x50 on VGA 135 0x0f02 VGA 80x43 (VGA switched to 350 scanlines with a 8-point font) 136 0x0f03 VGA 80x28 (standard VGA scans, but 14-point font) 138 0x0f05 VGA 80x30 (480 scans, 16-point font) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/connector/ |
| D | vga-connector.yaml | 4 $id: http://devicetree.org/schemas/display/connector/vga-connector.yaml# 7 title: VGA Connector 14 const: vga-connector 23 description: Connection to controller providing VGA signals 34 compatible = "vga-connector"; 35 label = "vga";
|
| /kernel/linux/linux-5.10/drivers/gpu/vga/ |
| D | vgaarb.c | 2 * vgaarb.c: Implements the VGA arbitration. For details refer to 60 * We keep a list of all vga devices in the system to speed 141 * vga_default_device - return the default VGA device, for vgacon 145 * vga card setups and/or x86 platforms. 147 * If your VGA default device is not PCI, you'll have to return 150 * hooks for enabling/disabling the VGA default device if that is 151 * possible. This may be a problem with real _ISA_ VGA cards, in 174 * vga_remove_vgacon - deactivete vga console 176 * Unbind and unregister vgacon in case pdev is the default vga 178 * sure vga register access done by vgacon will not disturb the [all …]
|
| /kernel/linux/linux-4.19/Documentation/fb/ |
| D | fbcon.txt | 6 any standard text console driver, such as the VGA console, with the added 28 systems, they almost universally have VGA cards, so vga16fb and vesafb will 44 will still get a VGA console. 54 vga= boot option parameter. 123 NOTE: For x86 machines, the standard console is the VGA console which 125 are controlled by the VGA console will be garbled. 172 the hardware. Thus, in a VGA console: 174 console ---> VGA driver ---> hardware. 176 Assuming the VGA driver can be unloaded, one must first unbind the VGA driver 177 from the console layer before unloading the driver. The VGA driver cannot be [all …]
|
| /kernel/linux/linux-5.10/Documentation/fb/ |
| D | fbcon.rst | 7 any standard text console driver, such as the VGA console, with the added 30 systems, they almost universally have VGA cards, so vga16fb and vesafb will 46 will still get a VGA console. 57 vga= boot option parameter. 119 NOTE: For x86 machines, the standard console is the VGA console which 121 are controlled by the VGA console will be garbled. 181 the hardware. Thus, in a VGA console:: 183 console ---> VGA driver ---> hardware. 185 Assuming the VGA driver can be unloaded, one must first unbind the VGA driver 186 from the console layer before unloading the driver. The VGA driver cannot be [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/vga/ |
| D | vgaarb.c | 2 * vgaarb.c: Implements the VGA arbitration. For details refer to 58 * We keep a list of all vga devices in the system to speed 139 * vga_default_device - return the default VGA device, for vgacon 143 * vga card setups and/or x86 platforms. 145 * If your VGA default device is not PCI, you'll have to return 148 * hooks for enabling/disabling the VGA default device if that is 149 * possible. This may be a problem with real _ISA_ VGA cards, in 178 /* If we don't ever use VGA arb we should avoid 180 confused about the boot device not being VGA */ 184 * VGA arb has occurred and to try and disable resources in vga_check_first_use() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| D | intel_vga.c | 25 /* Disable the VGA plane that we never use */ 50 "Something enabled VGA plane, disabling it\n"); in intel_vga_redisable_power_on() 63 * paranoid "someone might have enabled VGA while we were not looking" in intel_vga_redisable() 82 * After we re-enable the power well, if we touch VGA register 0x3d5 in intel_vga_reset_io_mem() 84 * anything to the VGA MSR register. The vgacon module uses this in intel_vga_reset_io_mem() 87 * console_unlock(). So make here we touch the VGA MSR register, making in intel_vga_reset_io_mem() 143 * If we have > 1 VGA cards, then we need to arbitrate access to the in intel_vga_register() 144 * common VGA resources. in intel_vga_register() 147 * then we do not take part in VGA arbitration and the in intel_vga_register()
|
| /kernel/linux/linux-5.10/Documentation/ia64/ |
| D | aliasing.rst | 118 several VGA devices. 120 "X" uses this to access VGA frame buffers. Using legacy_mem 122 different VGA cards. 185 mmap of 0x0-0x9FFFF /dev/mem by "hwinfo" on HP sx1000 with VGA enabled 192 0xA0000-0xBFFFF UC only (VGA frame buffer) 199 The kernel VGA driver may ioremap the VGA frame buffer at 0xA0000, 210 supported, as is the case with HP sx[12]000 machines with VGA 214 machines with VGA enabled), we must fail the mmap because there's no 218 that doesn't report the VGA frame buffer at all), we should fail the 221 mmap of 0xA0000-0xBFFFF legacy_mem by "X" on HP sx1000 with VGA disabled [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/bridge/ |
| D | dumb-vga-dac.txt | 1 Dumb RGB to VGA DAC bridge 4 This binding is aimed for dumb RGB to VGA DAC based bridges that do not require 9 - compatible: Must be "dumb-vga-dac" 17 - Video port 1 for VGA output 26 compatible = "dumb-vga-dac";
|