64dbcd8cae
- xserver-1.6.99-use-pci-access-boot.patch: use pciaccess boot vga - not sure what is up with the Conflicts stuff
21 lines
572 B
Diff
21 lines
572 B
Diff
From: Dave Airlie <airlied@redhat.com>
|
|
Date: Tue, 3 Mar 2009 10:58:33 -0500
|
|
Subject: [PATCH] Primary video device hack - the revenge
|
|
|
|
diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
|
|
index 8ed3567..183b1ba 100644
|
|
--- a/hw/xfree86/common/xf86pciBus.c
|
|
+++ b/hw/xfree86/common/xf86pciBus.c
|
|
@@ -400,6 +400,11 @@ xf86PciProbe(void)
|
|
xf86PciVideoInfo[num - 1] = info;
|
|
|
|
pci_device_probe(info);
|
|
+
|
|
+ if (pci_device_is_boot_vga(info)) {
|
|
+ primaryBus.type = BUS_PCI;
|
|
+ primaryBus.id.pci = info;
|
|
+ }
|
|
info->user_data = 0;
|
|
}
|
|
}
|