rpms/xorg-x11-server/devel xserver-1.3.0-fbdevhw-magic-numbers.patch, NONE, 1.1 xorg-x11-server.spec, 1.227, 1.228

Adam Jackson (ajax) fedora-extras-commits at redhat.com
Fri May 11 19:52:43 UTC 2007


Author: ajax

Update of /cvs/pkgs/rpms/xorg-x11-server/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24569

Modified Files:
	xorg-x11-server.spec 
Added Files:
	xserver-1.3.0-fbdevhw-magic-numbers.patch 
Log Message:
* Fri May 11 2007 Adam Jackson <ajax at redhat.com> 1.3.0.0-5
- xserver-1.3.0-fbdevhw-magic-numbers.patch: If the fbdev driver claims to
  have a zero pixel clock, believe it.  Fixes Xen paravirt. (#238451)


xserver-1.3.0-fbdevhw-magic-numbers.patch:

--- NEW FILE xserver-1.3.0-fbdevhw-magic-numbers.patch ---
--- xorg-server-1.3.0.0/./hw/xfree86/fbdevhw/fbdevhw.c.jx	2007-03-26 23:32:36.000000000 -0400
+++ xorg-server-1.3.0.0/./hw/xfree86/fbdevhw/fbdevhw.c	2007-05-11 15:10:05.000000000 -0400
@@ -258,7 +258,7 @@
 static void
 fbdev2xfree_timing(struct fb_var_screeninfo *var, DisplayModePtr mode)
 {
-	mode->Clock = var->pixclock ? 1000000000/var->pixclock : 28000000;
+	mode->Clock = var->pixclock ? 1000000000/var->pixclock : 0;
 	mode->HDisplay = var->xres;
 	mode->HSyncStart = mode->HDisplay+var->right_margin;
 	mode->HSyncEnd = mode->HSyncStart+var->hsync_len;


Index: xorg-x11-server.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xorg-x11-server/devel/xorg-x11-server.spec,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -r1.227 -r1.228
--- xorg-x11-server.spec	7 May 2007 18:18:16 -0000	1.227
+++ xorg-x11-server.spec	11 May 2007 19:52:05 -0000	1.228
@@ -9,7 +9,7 @@
 Summary:   X.Org X11 X server
 Name:      xorg-x11-server
 Version:   1.3.0.0
-Release:   4%{?dist}
+Release:   5%{?dist}
 URL:       http://www.x.org
 License:   MIT/X11
 Group:     User Interface/X
@@ -31,6 +31,7 @@
 Patch19:   xserver-1.3.0-xnest-exposures.patch
 Patch20:   xserver-1.3.0-x86emu-imul-int64.patch
 Patch21:   xserver-1.3.0-xkb-and-loathing.patch
+Patch22:   xserver-1.3.0-fbdevhw-magic-numbers.patch
 
 # OpenGL compositing manager feature/optimization patches.
 Patch100:  xorg-x11-server-1.1.0-no-move-damage.patch
@@ -277,6 +278,7 @@
 %patch19 -p1 -b .xnest-expose
 %patch20 -p1 -b .x86emu-imul
 %patch21 -p1 -b .xkb-signal-loathing
+%patch22 -p1 -b .magic-numbers
 
 %patch100 -p0 -b .no-move-damage
 %patch101 -p0 -b .dont-backfill-bg-none
@@ -568,6 +570,10 @@
 
 
 %changelog
+* Fri May 11 2007 Adam Jackson <ajax at redhat.com> 1.3.0.0-5
+- xserver-1.3.0-fbdevhw-magic-numbers.patch: If the fbdev driver claims to
+  have a zero pixel clock, believe it.  Fixes Xen paravirt. (#238451)
+
 * Mon May 07 2007 Adam Jackson <ajax at redhat.com> 1.3.0.0-4
 - xorg-x11-server-1.1.1-offscreen-pixmaps.patch: Fix a crash when activating
   GLX_EXT_texture_from_pixmap without XAA.




More information about the fedora-extras-commits mailing list