Lines Matching full:vga

2  * vgaarb.c: Implements the VGA arbitration. For details refer to
61 * 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
172 * vga_remove_vgacon - deactivete vga console
174 * Unbind and unregister vgacon in case pdev is the default vga
176 * sure vga register access done by vgacon will not disturb the
198 vgaarb_info(&pdev->dev, "deactivate vga console\n"); in vga_remove_vgacon()
218 /* If we don't ever use VGA arb we should avoid
220 confused about the boot device not being VGA */
224 * VGA arb has occurred and to try and disable resources in vga_check_first_use()
281 * VGA forwarding on P2P bridges in __vga_tryget()
412 * vga_get - acquire & locks VGA resources
413 * @pdev: pci device of the VGA card or NULL for the system default
417 * This function acquires VGA resources for the given card and mark those
423 * The arbiter will first look for all VGA cards that might conflict and disable
424 * their IOs and/or Memory access, including VGA forwarding on P2P bridges if
427 * enabled on the card (including VGA forwarding on parent P2P bridges if any).
431 * bridges don't differentiate VGA memory and IO afaik). You can indicate
439 * On success, release the VGA resource again with vga_put().
498 * vga_tryget - try to acquire & lock legacy VGA resources
499 * @pdev: pci devivce of VGA card or NULL for system default
506 * On success, release the VGA resource again with vga_put().
539 * vga_put - release lock on legacy VGA resources
540 * @pdev: pci device of VGA card or NULL for system default
569 * Rules for using a bridge to control a VGA descendant decoding: if a bridge
570 * has only one VGA descendant then it can be used to control the VGA routing
572 * control it. If a bridge has a direct VGA descendant, but also have a sub-
573 * bridge VGA descendant then we cannot use that bridge to control the direct
574 * VGA descendant. So for every device we register, we need to iterate all
641 /* Only deal with VGA class devices */ in vga_arbiter_add_pci_device()
648 vgaarb_err(&pdev->dev, "failed to allocate VGA arbiter data\n"); in vga_arbiter_add_pci_device()
679 /* Check if VGA cycles can get down to us */ in vga_arbiter_add_pci_device()
695 /* Deal with VGA default device. Use first enabled one in vga_arbiter_add_pci_device()
700 vgaarb_info(&pdev->dev, "setting as boot VGA device\n"); in vga_arbiter_add_pci_device()
709 vgaarb_info(&pdev->dev, "VGA device added: decodes=%s,owns=%s,locks=%s\n", in vga_arbiter_add_pci_device()
769 vgaarb_info(dev, "changed VGA decodes: olddecodes=%s,decodes=%s:owns=%s\n", in vga_update_device_decodes()
824 * @pdev: pci device of the VGA card
827 * Indicates to the arbiter if the card decodes legacy VGA IOs, legacy VGA
840 * vga_client_register - register or unregister a VGA arbitration client
841 * @pdev: pci device of the VGA client
842 * @set_decode: vga decode change callback
846 * @set_decode callback: If a client can disable its GPU VGA resource, it
849 * Rationale: we cannot disable VGA decode resources unconditionally some single
850 * GPU laptops seem to require ACPI or BIOS access to the VGA registers to
853 * driver will get a callback when VGA arbitration is first used by userspace
891 * attached to the default VGA device of the system.
998 * away), and allows access to vga list in vga_arb_read()
1238 vgaarb_dbg(&pdev->dev, "not a VGA device\n"); in vga_arb_write()
1367 * change in VGA cards
1405 * cases of hotplugable vga cards. */ in pci_notify()
1517 vgaarb_info(&found->dev, "setting as boot device (VGA legacy resources not available)\n"); in vga_arb_select_default_device()
1527 vgaarb_info(dev, "setting as boot device (VGA legacy resources not available)\n"); in vga_arb_select_default_device()
1545 /* We add all PCI devices satisfying VGA class in the arbiter by in vga_arb_device_init()