]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/PciBus: Restrict one VGA per HostBridge not Segment
authorRuiyu Ni <ruiyu.ni@intel.com>
Thu, 23 Aug 2018 02:50:16 +0000 (10:50 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Mon, 27 Aug 2018 01:40:22 +0000 (09:40 +0800)
commit983f5abb9a0d6cf9cfb5e16d671f15e5dc7510d8
treeba17cc103629c3da56d86e9c873ec84ca8ee1479
parent06da1e310bcea971073a8dabc5c3d35bc190847c
MdeModulePkg/PciBus: Restrict one VGA per HostBridge not Segment

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1109

Today's restriction of VGA device is to have only one VGA device
enabled per PCI segment. It's not correct because several segments
may share one IO / MMIO address space.
We should restrict to have one VGA per Host Bridge because each
Host Bridge has its only IO / MMIO address space.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.c
MdeModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.h
MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c