diff options
| author | Huacai Chen <[email protected]> | 2022-02-24 16:47:49 -0600 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2022-03-09 18:31:19 -0600 |
| commit | 37114e4d1547ed230706d07edaee2d2b4b3215a4 (patch) | |
| tree | 854f74f6ffcb8c1d3e3e4bc001a198919b290431 /scripts/gdb/linux/utils.py | |
| parent | e96902eb8c69fdcc55fa6beee796c6b34613e0fc (diff) | |
PCI/VGA: Move disabled VGA device detection to ADD_DEVICE path
a37c0f48950b ("vgaarb: Select a default VGA device even if there's no
legacy VGA") extended the vga_arb_device_init() subsys_initcall so that if
there are no other eligible devices, it could select a disabled VGA device
as the default.
Move this detection from vga_arb_select_default_device() to
vga_arbiter_add_pci_device() so every device, even those hot-added or
enumerated after vga_arb_device_init() is eligible for selection as the
default VGA device.
[bhelgaas: commit log, restructure]
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Huacai Chen <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: Daniel Axtens <[email protected]>
Cc: Zhou Wang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions