Hello, Ron
-----Original Message----- From: coreboot-bounces+kerry.she=amd.com@coreboot.org [mailto:coreboot- bounces+kerry.she=amd.com@coreboot.org] On Behalf Of ron minnich Sent: Monday, December 19, 2011 1:07 PM To: Kerry Sheh Cc: coreboot@coreboot.org Subject: Re: [coreboot] Patch set updated for coreboot: 6709bdd Fix multipleVGA cards resource conflict on Windows
- /* It isn't safe to enable multiple VGA cards.
- * Windows will report resource conflict when more than
one
- * VGA-compatible legacy graphic card in the system.
- */
+#if CONFIG_VGA_BRIDGE_SETUP == 1
- extern device_t vga_pri;
- if (((dev->class >> 16) == PCI_BASE_CLASS_DISPLAY) &&
- (dev != vga_pri)) {
- if (((vga_pri->class >> 8) ==
PCI_CLASS_DISPLAY_VGA) &&
- ((dev->class >> 8) ==
PCI_CLASS_DISPLAY_VGA)) {
- dev->command &= ~(PCI_COMMAND_IO |
PCI_COMMAND_MEMORY);
- }
- }
+#endif
What do Linux or *BSD do in the same situation? Do they handle it cleanly?
Linux VGA Arbiter module(vgaarb) will handle this explicitly. So dual vga card would works together, even coreboot not disable IO& MEM decoding on the second vga card. thanks
thanks
ron
-- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot