Lines Matching full:vga
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
200 vgaarb_info(&pdev->dev, "deactivate vga console\n"); in vga_remove_vgacon()
227 /* If we don't ever use VGA arb we should avoid
229 confused about the boot device not being VGA */
233 * VGA arb has occurred and to try and disable resources in vga_check_first_use()
296 * VGA forwarding on P2P bridges in __vga_tryget()
432 * vga_get - acquire & locks VGA resources
433 * @pdev: pci device of the VGA card or NULL for the system default
437 * This function acquires VGA resources for the given card and mark those
443 * The arbiter will first look for all VGA cards that might conflict and disable
444 * their IOs and/or Memory access, including VGA forwarding on P2P bridges if
447 * enabled on the card (including VGA forwarding on parent P2P bridges if any).
451 * bridges don't differentiate VGA memory and IO afaik). You can indicate
459 * On success, release the VGA resource again with vga_put().
518 * vga_tryget - try to acquire & lock legacy VGA resources
519 * @pdev: pci devivce of VGA card or NULL for system default
526 * On success, release the VGA resource again with vga_put().
559 * vga_put - release lock on legacy VGA resources
560 * @pdev: pci device of VGA card or NULL for system default
589 * Rules for using a bridge to control a VGA descendant decoding: if a bridge
590 * has only one VGA descendant then it can be used to control the VGA routing
592 * control it. If a bridge has a direct VGA descendant, but also have a sub-
593 * bridge VGA descendant then we cannot use that bridge to control the direct
594 * VGA descendant. So for every device we register, we need to iterate all
661 /* Only deal with VGA class devices */ in vga_arbiter_add_pci_device()
668 vgaarb_err(&pdev->dev, "failed to allocate VGA arbiter data\n"); in vga_arbiter_add_pci_device()
699 /* Check if VGA cycles can get down to us */ in vga_arbiter_add_pci_device()
715 /* Deal with VGA default device. Use first enabled one in vga_arbiter_add_pci_device()
720 vgaarb_info(&pdev->dev, "setting as boot VGA device\n"); in vga_arbiter_add_pci_device()
729 vgaarb_info(&pdev->dev, "VGA device added: decodes=%s,owns=%s,locks=%s\n", in vga_arbiter_add_pci_device()
789 vgaarb_info(dev, "changed VGA decodes: olddecodes=%s,decodes=%s:owns=%s\n", in vga_update_device_decodes()
849 * vga_client_register - register or unregister a VGA arbitration client
850 * @pdev: pci device of the VGA client
853 * @set_vga_decode: vga decode change callback
857 * @irq_set_state callback: If a client can't disable its GPUs VGA
861 * @set_vga_decode callback: If a client can disable its GPU VGA resource, it
864 * Rationale: we cannot disable VGA decode resources unconditionally some single
865 * GPU laptops seem to require ACPI or BIOS access to the VGA registers to
868 * driver will get a callback when VGA arbitration is first used by userspace
911 * attached to the default VGA device of the system.
1018 * away), and allows access to vga list in vga_arb_read()
1258 vgaarb_dbg(&pdev->dev, "not a VGA device\n"); in vga_arb_write()
1387 * change in VGA cards
1425 * cases of hotplugable vga cards. */ in pci_notify()
1515 vgaarb_info(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()