rpms/xorg-x11-server/F-8 xserver-1.3.0-ignore-extra-entity.patch, NONE, 1.1 xserver-1.3.0-randr-fix-set-rotations-xinerama.patch, NONE, 1.1 xorg-x11-server.spec, 1.261, 1.262
Dave Airlie (airlied)
fedora-extras-commits at redhat.com
Thu Nov 29 09:17:39 UTC 2007
- Previous message (by thread): rpms/swig/F-7 .cvsignore, 1.8, 1.9 sources, 1.8, 1.9 swig-arch.patch, 1.1, 1.2 swig.spec, 1.32, 1.33
- Next message (by thread): rpms/swig/devel .cvsignore,1.8,1.9 sources,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: airlied
Update of /cvs/pkgs/rpms/xorg-x11-server/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29933
Modified Files:
xorg-x11-server.spec
Added Files:
xserver-1.3.0-ignore-extra-entity.patch
xserver-1.3.0-randr-fix-set-rotations-xinerama.patch
Log Message:
* Thu Nov 29 2007 Dave Airlie <airlied at redhat.com> 1.3.0.0-35
- xserver-1.3.0-ignore-extra-entity.patch - if a driver doesn't support
secondary entities, don't fatal error just ignore and keep going
- xserver-1.3.0-randr-fix-set-rotations-xinerama.patch - attempt to stop xinerama segfaulting randr12
xserver-1.3.0-ignore-extra-entity.patch:
--- NEW FILE xserver-1.3.0-ignore-extra-entity.patch ---
diff -up xorg-server-1.3.0.0/hw/xfree86/common/xf86Bus.c.da xorg-server-1.3.0.0/hw/xfree86/common/xf86Bus.c
--- xorg-server-1.3.0.0/hw/xfree86/common/xf86Bus.c.da 2007-11-29 15:42:04.000000000 +1000
+++ xorg-server-1.3.0.0/hw/xfree86/common/xf86Bus.c 2007-11-29 15:42:11.000000000 +1000
@@ -341,8 +341,10 @@ xf86AddEntityToScreen(ScrnInfoPtr pScrn,
if (entityIndex == -1)
return;
if (xf86Entities[entityIndex]->inUse &&
- !(xf86Entities[entityIndex]->entityProp & IS_SHARED_ACCEL))
- FatalError("Requested Entity already in use!\n");
+ !(xf86Entities[entityIndex]->entityProp & IS_SHARED_ACCEL)) {
+ ErrorF("Requested Entity already in use!\n");
+ return;
+ }
pScrn->numEntities++;
pScrn->entityList = xnfrealloc(pScrn->entityList,
xserver-1.3.0-randr-fix-set-rotations-xinerama.patch:
--- NEW FILE xserver-1.3.0-randr-fix-set-rotations-xinerama.patch ---
diff --git a/hw/xfree86/modes/xf86RandR12.c b/hw/xfree86/modes/xf86RandR12.c
index 61a7db3..bb7f945 100644
--- a/hw/xfree86/modes/xf86RandR12.c
+++ b/hw/xfree86/modes/xf86RandR12.c
@@ -59,7 +59,7 @@ static Bool xf86RandR12Init12 (ScreenPtr pScreen);
static Bool xf86RandR12CreateScreenResources12 (ScreenPtr pScreen);
#endif
-static int xf86RandR12Index;
+static int xf86RandR12Index = -1;
static int xf86RandR12Generation;
#define XF86RANDRINFO(p) \
@@ -340,10 +340,12 @@ xf86RandR12ScreenSetSize (ScreenPtr pScreen,
PixmapPtr pScrnPix = (*pScreen->GetScreenPixmap)(pScreen);
Bool ret = FALSE;
- if (randrp->virtualX == -1 || randrp->virtualY == -1)
- {
- randrp->virtualX = pScrn->virtualX;
- randrp->virtualY = pScrn->virtualY;
+ if (xf86RandR12Index != -1) {
+ if (randrp->virtualX == -1 || randrp->virtualY == -1)
+ {
+ randrp->virtualX = pScrn->virtualX;
+ randrp->virtualY = pScrn->virtualY;
+ }
}
if (pRoot && pScrn->vtSema)
(*pScrn->EnableDisableFBAccess) (pScreen->myNum, FALSE);
@@ -366,7 +368,7 @@ finish:
if (pRoot && pScrn->vtSema)
(*pScrn->EnableDisableFBAccess) (pScreen->myNum, TRUE);
#if RANDR_12_INTERFACE
- if (WindowTable[pScreen->myNum] && ret)
+ if ((xf86RandR12Index != -1) && WindowTable[pScreen->myNum] && ret)
RRScreenSizeNotify (pScreen);
#endif
return ret;
@@ -466,6 +468,9 @@ xf86RandR12CreateScreenResources (ScreenPtr pScreen)
mmHeight);
}
+ if (xf86RandR12Index == -1)
+ return TRUE;
+
if (randrp->virtualX == -1 || randrp->virtualY == -1)
{
randrp->virtualX = pScrn->virtualX;
@@ -533,12 +538,18 @@ xf86RandR12Init (ScreenPtr pScreen)
_X_EXPORT void
xf86RandR12SetRotations (ScreenPtr pScreen, Rotation rotations)
{
- XF86RandRInfoPtr randrp = XF86RANDRINFO(pScreen);
+ XF86RandRInfoPtr randrp;
#if RANDR_12_INTERFACE
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
int c;
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
+#endif
+ if (xf86RandR12Index == -1)
+ return;
+
+ randrp = XF86RANDRINFO(pScreen);
+#if RANDR_12_INTERFACE
for (c = 0; c < config->num_crtc; c++) {
xf86CrtcPtr crtc = config->crtc[c];
@@ -1065,9 +1076,11 @@ xf86RandR12CreateScreenResources12 (ScreenPtr pScreen)
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
+ if (xf86RandR12Index == -1)
+ return TRUE;
+
for (c = 0; c < config->num_crtc; c++)
- xf86RandR12CrtcNotify (config->crtc[c]->randr_crtc);
-
+ xf86RandR12CrtcNotify (config->crtc[c]->randr_crtc);
RRScreenSetSizeRange (pScreen, config->minWidth, config->minHeight,
config->maxWidth, config->maxHeight);
@@ -1084,11 +1097,11 @@ xf86RandR12TellChanged (ScreenPtr pScreen)
{
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
- XF86RandRInfoPtr randrp = XF86RANDRINFO(pScreen);
int c;
- if (!randrp)
+ if (xf86RandR12Index == -1)
return;
+
xf86RandR12SetInfo12 (pScreen);
for (c = 0; c < config->num_crtc; c++)
xf86RandR12CrtcNotify (config->crtc[c]->randr_crtc);
Index: xorg-x11-server.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-server/F-8/xorg-x11-server.spec,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -r1.261 -r1.262
--- xorg-x11-server.spec 2 Nov 2007 13:51:36 -0000 1.261
+++ xorg-x11-server.spec 29 Nov 2007 09:17:03 -0000 1.262
@@ -9,7 +9,7 @@
Summary: X.Org X11 X server
Name: xorg-x11-server
Version: 1.3.0.0
-Release: 34%{?dist}
+Release: 35%{?dist}
URL: http://www.x.org
License: MIT
Group: User Interface/X
@@ -61,6 +61,8 @@
Patch1022: xserver-1.3.0-default-dpi.patch
Patch1023: xserver-1.3.0-randr-preferred-mode-fix.patch
Patch1024: xserver-1.3.0-avoid-ps2-probe.patch
+Patch1025: xserver-1.3.0-ignore-extra-entity.patch
+Patch1026: xserver-1.3.0-randr-fix-set-rotations-xinerama.patch
Patch2001: xserver-1.2.0-geode-mmx.patch
Patch2002: xserver-1.2.0-xephyr-keysym-madness.patch
@@ -79,6 +81,7 @@
Patch2018: xserver-1.3.0-late-sigusr1.patch
Patch2019: xserver-1.3.0-yet-more-vt-ioctl-hate.patch
+
# assorted PCI layer shenanigans. oh the pain.
Patch2500: xorg-x11-server-1.2.99-unbreak-domain.patch
Patch2501: xserver-1.3.0-pci-bus-count.patch
@@ -328,6 +331,8 @@
%patch1022 -p1 -b .dpi
%patch1023 -p1 -b .randr-preferred
%patch1024 -p1 -b .ps2-probe
+%patch1025 -p1 -b .ignore-entities
+%patch1026 -p1 -b .fix-set-rotation-crash
%patch2001 -p1 -b .geode-mmx
%patch2002 -p1 -b .xephyr-keysym
@@ -377,7 +382,7 @@
--with-int10=x86emu \
--with-default-font-path=%{default_font_path} \
--with-module-dir=%{moduledir} \
- --with-os-name="Fedora Core 7" \
+ --with-os-name="Fedora 8" \
--with-os-vendor="Red Hat, Inc." \
--with-builderstring="Build ID: %{name} %{version}-%{release}" \
--with-xkb-output=%{_localstatedir}/lib/xkb \
@@ -620,6 +625,11 @@
%changelog
+* Thu Nov 29 2007 Dave Airlie <airlied at redhat.com> 1.3.0.0-35
+- xserver-1.3.0-ignore-extra-entity.patch - if a driver doesn't support
+ secondary entities, don't fatal error just ignore and keep going
+- xserver-1.3.0-randr-fix-set-rotations-xinerama.patch - attempt to stop xinerama segfaulting randr12
+
* Thu Nov 01 2007 Adam Jackson <ajax at redhat.com> 1.3.0.0-34
- xserver-1.3.0-yet-more-vt-ioctl-hate.patch: You don't even want to know.
- Previous message (by thread): rpms/swig/F-7 .cvsignore, 1.8, 1.9 sources, 1.8, 1.9 swig-arch.patch, 1.1, 1.2 swig.spec, 1.32, 1.33
- Next message (by thread): rpms/swig/devel .cvsignore,1.8,1.9 sources,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list