]> git.pld-linux.org Git - packages/X11.git/blame - X11-intel.patch
- original from http://xorg.freedesktop.org/releases/X11R6.9.0/patches/x11r6.9.0...
[packages/X11.git] / X11-intel.patch
CommitLineData
e85a5822
AM
1diff -u -r1.18 xf86pciBus.c
2--- X11-6.9.0/xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c 25 Mar 2006 19:52:03 -0000 1.18
3+++ X11-6.9.0/xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c 26 Apr 2006 04:14:04 -0000
4@@ -1774,7 +1774,16 @@
5 PciBus->brfunc = pcrp->funcnum;
6
7 PciBus->subclass = sub_class;
8- PciBus->interface = pcrp->pci_prog_if;
9+
10+ /* The Intel bridges don't report as transparent
11+ but guess what they are - from Linux kernel - airlied */
12+ if ((pcrp->pci_vendor == PCI_VENDOR_INTEL) &&
13+ ((pcrp->pci_device & 0xff00) == 0x2400)) {
14+ xf86MsgVerb(X_INFO, 3, "Intel Bridge workaround enabled\n");
15+ PciBus->interface = PCI_IF_BRIDGE_PCI_SUBTRACTIVE;
16+ } else {
17+ PciBus->interface = pcrp->pci_prog_if;
18+ }
19
20 if (pBusInfo && pBusInfo->funcs->pciControlBridge)
21 PciBus->brcontrol =
22Index: os-support/shared/stdResource.c
23===================================================================
24RCS file: /cvs/xorg/xserver/xorg/hw/xfree86/os-support/shared/stdResource.c,v
25retrieving revision 1.4
26diff -u -r1.4 stdResource.c
27--- X11-6.9.0/xc/programs/Xserver/hw/xfree86/os-support/shared/stdResource.c 25 Mar 2006 19:52:04 -0000 1.4
28+++ X11-6.9.0/xc/programs/Xserver/hw/xfree86/os-support/shared/stdResource.c 26 Apr 2006 04:14:04 -0000
29@@ -150,10 +150,11 @@
30 ret = xf86AddResToList(ret, &range, -1);
31 RANGE(range, 0xfee00000, 0xfeefffff, ResExcMemBlock | ResBios);
32 ret = xf86AddResToList(ret, &range, -1);
33-#endif
34+ /* airlied - remove BIOS range it shouldn't be here
35+ this should use E820 - or THE OS */
36 RANGE(range, 0xffe00000, 0xffffffff, ResExcMemBlock | ResBios);
37 ret = xf86AddResToList(ret, &range, -1);
38-
39+#endif
40 /*
41 * Fallback would be to claim well known ports in the 0x0 - 0x3ff range
42 * along with their sparse I/O aliases, but that's too imprecise. Instead
This page took 0.037937 seconds and 4 git commands to generate.