aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorHuacai Chen2022-02-24 16:47:51 -0600
committerBjorn Helgaas2022-03-09 18:31:28 -0600
commit4e6c91847a7fa94a6a0caeeb388718b8ae005d56 (patch)
treed4f7cd8f995d0e4a27d932918641e8183727a08b /arch
parentdc593fd48abbea1e840c847c464eabc9c6bca180 (diff)
PCI/VGA: Log bridge control messages when adding devices
Previously vga_arb_device_init() iterated through all VGA devices and indicated whether legacy VGA routing to each could be controlled by an upstream bridge. But we determine that information in vga_arbiter_add_pci_device(), which we call for every device, so we can log it there without iterating through the VGA devices again. Note that we call vga_arbiter_check_bridge_sharing() before adding the device to vga_list, so we have to handle the very first device separately. Link: https://lore.kernel.org/r/20220224224753.297579-10-helgaas@kernel.org Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions