rpms/xorg-x11-server/devel xorg-x11-server.spec, 1.460, 1.461 xserver-1.6.99-vga-arb.patch, 1.2, 1.3
Dave Airlie
airlied at fedoraproject.org
Wed Aug 5 05:55:36 UTC 2009
- Previous message: rpms/kernel/devel drm-nouveau.patch, 1.42, 1.43 kernel.spec, 1.1693, 1.1694
- Next message: rpms/xorg-x11-drv-nouveau/devel .cvsignore, 1.38, 1.39 nouveau-bicubic-2x.patch, 1.5, 1.6 nouveau-multiple-xserver.patch, 1.7, 1.8 nouveau-transition-hack.patch, 1.8, 1.9 sources, 1.39, 1.40 xorg-x11-drv-nouveau.spec, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: airlied
Update of /cvs/pkgs/rpms/xorg-x11-server/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29566
Modified Files:
xorg-x11-server.spec xserver-1.6.99-vga-arb.patch
Log Message:
* Wed Aug 05 2009 Dave Airlie <airlied at redhat.com> 1.6.99-26.20090804
- fix VGA arb device lookup - noticed by mclasen in qemu
Index: xorg-x11-server.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-server/devel/xorg-x11-server.spec,v
retrieving revision 1.460
retrieving revision 1.461
diff -u -p -r1.460 -r1.461
--- xorg-x11-server.spec 4 Aug 2009 10:14:56 -0000 1.460
+++ xorg-x11-server.spec 5 Aug 2009 05:55:36 -0000 1.461
@@ -19,7 +19,7 @@
Summary: X.Org X11 X server
Name: xorg-x11-server
Version: 1.6.99
-Release: 25.%{gitdate}%{?dist}
+Release: 26.%{gitdate}%{?dist}
URL: http://www.x.org
License: MIT
Group: User Interface/X
@@ -527,6 +527,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Aug 05 2009 Dave Airlie <airlied at redhat.com> 1.6.99-26.20090804
+- fix VGA arb device lookup - noticed by mclasen in qemu
+
* Tue Aug 04 2009 Dave Airlie <airlied at redhat.com> 1.6.99-25.20090804
- fix VGA arb fatal error
xserver-1.6.99-vga-arb.patch:
configure.ac | 1
hw/xfree86/common/Makefile.am | 6
hw/xfree86/common/xf86Bus.c | 15
hw/xfree86/common/xf86DPMS.c | 4
hw/xfree86/common/xf86Init.c | 11
hw/xfree86/common/xf86PM.c | 6
hw/xfree86/common/xf86VGAarbiter.c | 1150 +++++++++++++++++++++++++++++++++
hw/xfree86/common/xf86VGAarbiter.h | 48 +
hw/xfree86/common/xf86VGAarbiterPriv.h | 266 +++++++
hw/xfree86/common/xf86str.h | 4
hw/xfree86/dri/dri.c | 7
hw/xfree86/dri2/dri2.c | 7
hw/xfree86/int10/generic.c | 2
hw/xfree86/loader/sdksyms.sh | 1
include/xorg-config.h.in | 4
15 files changed, 1521 insertions(+), 11 deletions(-)
Index: xserver-1.6.99-vga-arb.patch
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-server/devel/xserver-1.6.99-vga-arb.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- xserver-1.6.99-vga-arb.patch 4 Aug 2009 10:14:56 -0000 1.2
+++ xserver-1.6.99-vga-arb.patch 5 Aug 2009 05:55:36 -0000 1.3
@@ -1,4 +1,4 @@
-From 3e94ca1eb90ded7910edbfa42a63bd832cfa405c Mon Sep 17 00:00:00 2001
+From 5900761f4d2d75674d3d303ef37f60a9dcde4309 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied at redhat.com>
Date: Mon, 3 Aug 2009 14:09:32 +1000
Subject: [PATCH] X server: VGA arbitration.
@@ -225,7 +225,7 @@ index f6138c3..fa24813 100644
}
diff --git a/hw/xfree86/common/xf86VGAarbiter.c b/hw/xfree86/common/xf86VGAarbiter.c
new file mode 100644
-index 0000000..6a97b7c
+index 0000000..bac5183
--- /dev/null
+++ b/hw/xfree86/common/xf86VGAarbiter.c
@@ -0,0 +1,1150 @@
@@ -355,16 +355,16 @@ index 0000000..6a97b7c
+ int bus, devi, func;
+ GDevPtr dev_tmp;
+ struct pci_device *dev;
++ EntityInfoPtr entity;
+
+ if (vga_no_arb)
+ return;
+
-+ dev_tmp = xf86GetDevFromEntity(pScrn->entityList[0],
-+ pScrn->entityInstanceList[0]);
-+ sscanf(dev_tmp->busID, "PCI:%d:%d:%d", &bus, &devi, &func);
-+ ErrorF("registering PCI:%d:%d:%d with the VGA arbitration\n", bus, devi, func);
++ entity = xf86GetEntityInfo(pScrn->entityList[0]);
++ if (entity->type != BUS_PCI)
++ return;
+
-+ dev = pci_device_find_by_slot(0, bus, devi, func);
++ dev = entity->bus.id.pci;
+ pScrn->vgaDev = dev;
+}
+
- Previous message: rpms/kernel/devel drm-nouveau.patch, 1.42, 1.43 kernel.spec, 1.1693, 1.1694
- Next message: rpms/xorg-x11-drv-nouveau/devel .cvsignore, 1.38, 1.39 nouveau-bicubic-2x.patch, 1.5, 1.6 nouveau-multiple-xserver.patch, 1.7, 1.8 nouveau-transition-hack.patch, 1.8, 1.9 sources, 1.39, 1.40 xorg-x11-drv-nouveau.spec, 1.48, 1.49
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list