rpms/xorg-x11-server/devel xorg-x11-server.spec, 1.454, 1.455 xserver-1.6.99-use-pci-access-boot.patch, 1.2, 1.3

Adam Jackson ajax at fedoraproject.org
Tue Jul 28 14:33:21 UTC 2009


Author: ajax

Update of /cvs/pkgs/rpms/xorg-x11-server/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8666

Modified Files:
	xorg-x11-server.spec xserver-1.6.99-use-pci-access-boot.patch 
Log Message:
* Tue Jul 28 2009 Adam Jackson <ajax at redhat.com> 1.6.99-20.20090724
- xserver-1.6.99-use-pci-access-boot.patch: Some chips (thanks Intel) will
  change their PCI class at runtime if you disable their VGA decode, so
  consider both 0x0300 and 0x0380 classes when looking for the boot VGA.



Index: xorg-x11-server.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-server/devel/xorg-x11-server.spec,v
retrieving revision 1.454
retrieving revision 1.455
diff -u -p -r1.454 -r1.455
--- xorg-x11-server.spec	28 Jul 2009 14:16:23 -0000	1.454
+++ xorg-x11-server.spec	28 Jul 2009 14:33:20 -0000	1.455
@@ -19,7 +19,7 @@
 Summary:   X.Org X11 X server
 Name:      xorg-x11-server
 Version:   1.6.99
-Release:   19.%{gitdate}%{?dist}
+Release:   20.%{gitdate}%{?dist}
 URL:       http://www.x.org
 License:   MIT
 Group:     User Interface/X
@@ -525,6 +525,11 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Jul 28 2009 Adam Jackson <ajax at redhat.com> 1.6.99-20.20090724
+- xserver-1.6.99-use-pci-access-boot.patch: Some chips (thanks Intel) will
+  change their PCI class at runtime if you disable their VGA decode, so
+  consider both 0x0300 and 0x0380 classes when looking for the boot VGA.
+
 * Tue Jul 28 2009 Adam Jackson <ajax at redhat.com> 1.6.99-19.20090724
 - xserver-1.6.99-randr-error-debugging.patch: Dump RANDR protocol errors
   to the log.

xserver-1.6.99-use-pci-access-boot.patch:
 xf86pciBus.c |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Index: xserver-1.6.99-use-pci-access-boot.patch
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-server/devel/xserver-1.6.99-use-pci-access-boot.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- xserver-1.6.99-use-pci-access-boot.patch	27 Jul 2009 10:17:10 -0000	1.2
+++ xserver-1.6.99-use-pci-access-boot.patch	28 Jul 2009 14:33:20 -0000	1.3
@@ -1,20 +1,37 @@
+From 30f5e00909399b4503009e32831127d72d34f5df Mon Sep 17 00:00:00 2001
 From: Dave Airlie <airlied at redhat.com>
 Date: Tue, 3 Mar 2009 10:58:33 -0500
 Subject: [PATCH] Primary video device hack - the revenge
 
+---
+ hw/xfree86/common/xf86pciBus.c |    7 ++++++-
+ 1 files changed, 6 insertions(+), 1 deletions(-)
+
 diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
-index 8ed3567..183b1ba 100644
+index 8ed3567..74aeb44 100644
 --- a/hw/xfree86/common/xf86pciBus.c
 +++ b/hw/xfree86/common/xf86pciBus.c
+@@ -60,7 +60,7 @@ static struct pci_device ** xf86PciVideoInfo = NULL;	/* PCI probe for video hw *
+ /* PCI classes that get included in xf86PciVideoInfo */
+ #define PCIINFOCLASSES(c) \
+     ( (((c) & 0x00ff0000) == (PCI_CLASS_PREHISTORIC << 16)) \
+-      || (((c) & 0x00ffff00) == (PCI_CLASS_DISPLAY << 16)) )
++      || (((c) & 0x00ff0000) == (PCI_CLASS_DISPLAY << 16)) )
+ 
+ /*
+  * PCI classes that have messages printed always.  The others are only
 @@ -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;
-+		}
++            if (pci_device_is_boot_vga(info)) {
++                primaryBus.type = BUS_PCI;
++                primaryBus.id.pci = info;
++            }
  	    info->user_data = 0;
  	}
      }
+-- 
+1.6.3.3
+




More information about the fedora-extras-commits mailing list