Home
last modified time | relevance | path

Searched full:vga (Results 1 – 25 of 1128) sorted by relevance

12345678910>>...46

/kernel/linux/linux-5.10/drivers/gpu/drm/zte/
Dzx_vga.c50 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-5.10/include/linux/
Dvgaarb.h2 * 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-6.6/include/video/
Dvga.h2 * 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>
25 #define VGA_FB_PHYS_BASE 0xA0000 /* VGA framebuffer I/O base */
26 #define VGA_FB_PHYS_SIZE 65536 /* VGA framebuffer I/O size */
39 /* VGA data register ports */
58 /* VGA index register ports */
67 /* standard VGA indexes max counts */
74 /* VGA misc register bit masks */
81 /* VGA CRT controller register indices */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/
Dzte,vou.txt6 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-6.6/include/linux/
Dvgaarb.h4 * The VGA aribiter manages VGA space routing and VGA resource decode to
5 * allow multiple VGA devices to be used in a system in a safe way.
15 #include <video/vga.h>
19 /* Legacy VGA regions */
70 * @pdev: pci device of the VGA card or NULL for the system default
75 * On success, release the VGA resource again with vga_put().
85 * @pdev: pci device of the VGA card or NULL for the system default
90 * On success, release the VGA resource again with vga_put().
/kernel/linux/linux-5.10/include/video/
Dvga.h2 * 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/
Dvgaarbiter.rst2 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 …]
Dvga-switcheroo.rst4 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-6.6/Documentation/gpu/
Dvgaarbiter.rst2 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.
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
130 legacy resource lock. The arbiter will first look for all VGA cards that
[all …]
Dvga-switcheroo.rst4 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-6.6/drivers/pci/
Dvgaarb.c3 * vgaarb.c: Implements VGA arbitration. For details refer to
39 * We keep a list of all VGA devices in the system to speed
117 * vga_default_device - return the default VGA device, for vgacon
120 * rather dumb and will probably only work properly on single VGA card
123 * If your VGA default device is not PCI, you'll have to return NULL here.
126 * the VGA default device if that is possible. This may be a problem with
127 * real _ISA_ VGA cards, in addition to a PCI one. I don't know at this
148 * vga_remove_vgacon - deactivate VGA console
150 * Unbind and unregister vgacon in case pdev is the default VGA device.
151 * Can be called by GPU drivers on initialization to make sure VGA register
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
Dintel_vga.c9 #include <video/vga.h>
28 /* Disable the VGA plane that we never use */
56 "Something enabled VGA plane, disabling it\n"); in intel_vga_redisable_power_on()
69 * paranoid "someone might have enabled VGA while we were not looking" in intel_vga_redisable()
88 * After we re-enable the power well, if we touch VGA register 0x3d5 in intel_vga_reset_io_mem()
90 * anything to the VGA MSR register. The vgacon module uses this in intel_vga_reset_io_mem()
93 * console_unlock(). So make here we touch the VGA MSR register, making in intel_vga_reset_io_mem()
123 * If we have > 1 VGA cards, then we need to arbitrate access to the in intel_vga_register()
124 * common VGA resources. in intel_vga_register()
127 * then we do not take part in VGA arbitration and the in intel_vga_register()
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dsvga.rst20 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-6.6/Documentation/admin-guide/
Dsvga.rst20 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/
Dvga-connector.yaml4 $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/
Dvgaarb.c2 * 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-6.6/Documentation/devicetree/bindings/display/connector/
Dvga-connector.yaml4 $id: http://devicetree.org/schemas/display/connector/vga-connector.yaml#
7 title: VGA Connector
14 const: vga-connector
24 description: Connection to controller providing VGA signals
35 compatible = "vga-connector";
36 label = "vga";
/kernel/linux/linux-5.10/Documentation/fb/
Dfbcon.rst7 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-6.6/Documentation/fb/
Dfbcon.rst7 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-5.10/drivers/gpu/drm/i915/display/
Dintel_vga.c25 /* 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-6.6/Documentation/arch/ia64/
Daliasing.rst118 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-5.10/Documentation/ia64/
Daliasing.rst118 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-6.6/arch/alpha/kernel/
Dconsole.c5 * Architecture-specific specific support for VGA device on
14 #include <asm/vga.h>
23 .name = "alpha-vga+",
47 /* Find the console VGA device */ in locate_and_init_vga()
59 /* Create a new VGA ioport resource WRT the hose it is on. */ in locate_and_init_vga()
64 /* Set the VGA hose and init the new console. */ in locate_and_init_vga()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dconsole.c5 * Architecture-specific specific support for VGA device on
14 #include <asm/vga.h>
23 .name = "alpha-vga+",
47 /* Find the console VGA device */ in locate_and_init_vga()
59 /* Create a new VGA ioport resource WRT the hose it is on. */ in locate_and_init_vga()
64 /* Set the VGA hose and init the new console. */ in locate_and_init_vga()
/kernel/linux/linux-6.6/drivers/video/
Daperture.c14 #include <video/vga.h>
206 * to do for firmware-based fb drivers, such as EFI, VESA or VGA. After in aperture_detach_platform_device()
305 * __aperture_remove_legacy_vga_devices - remove legacy VGA devices of a PCI devices
308 * This function removes VGA devices provided by @pdev, such as a VGA
309 * framebuffer or a console. This is useful if you have a VGA-compatible
312 * this helper to release remaining VGA devices.
316 * release any VGA devices automatically.
319 * this helper. Otherwise the vga fbdev driver falls over if
327 /* VGA framebuffer */ in __aperture_remove_legacy_vga_devices()
330 /* VGA textmode console */ in __aperture_remove_legacy_vga_devices()
[all …]

12345678910>>...46