aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorHuacai Chen <[email protected]>2022-02-24 16:47:49 -0600
committerBjorn Helgaas <[email protected]>2022-03-09 18:31:19 -0600
commit37114e4d1547ed230706d07edaee2d2b4b3215a4 (patch)
tree854f74f6ffcb8c1d3e3e4bc001a198919b290431 /scripts/gdb/linux/utils.py
parente96902eb8c69fdcc55fa6beee796c6b34613e0fc (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