public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/2] MdeModulePkg/PciBus: Restrict one VGA per HostBridge not Segment
@ 2018-08-23  2:53 Ruiyu Ni
  2018-08-23  2:53 ` [PATCH 1/2] MdeModulePkg/PciBus: Refine ActiveVGADeviceOnTheRootBridge Ruiyu Ni
  2018-08-23  2:53 ` [PATCH 2/2] MdeModulePkg/PciBus: Restrict one VGA per HostBridge not Segment Ruiyu Ni
  0 siblings, 2 replies; 5+ messages in thread
From: Ruiyu Ni @ 2018-08-23  2:53 UTC (permalink / raw)
  To: edk2-devel; +Cc: Star Zeng

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>
Cc: Star Zeng <star.zeng@intel.com>

Ruiyu Ni (2):
  MdeModulePkg/PciBus: Refine ActiveVGADeviceOnTheRootBridge
  MdeModulePkg/PciBus: Restrict one VGA per HostBridge not Segment

 MdeModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.c | 55 +++++++++++------------
 MdeModulePkg/Bus/Pci/PciBusDxe/PciDeviceSupport.h | 20 ++++-----
 MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c            |  4 +-
 3 files changed, 38 insertions(+), 41 deletions(-)

-- 
2.16.1.windows.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-08-24  8:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-23  2:53 [PATCH 0/2] MdeModulePkg/PciBus: Restrict one VGA per HostBridge not Segment Ruiyu Ni
2018-08-23  2:53 ` [PATCH 1/2] MdeModulePkg/PciBus: Refine ActiveVGADeviceOnTheRootBridge Ruiyu Ni
2018-08-24  8:13   ` Zeng, Star
2018-08-23  2:53 ` [PATCH 2/2] MdeModulePkg/PciBus: Restrict one VGA per HostBridge not Segment Ruiyu Ni
2018-08-24  8:16   ` Zeng, Star

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox