Home
last modified time | relevance | path

Searched hist:"4 e6c9184" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pci/
H A Dvgaarb.c4e6c9184 Thu Feb 24 16:47:51 CST 2022 Huacai Chen <chenhuacai@loongson.cn> 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>