afcbbe25e6
- BuildRequires: git. - Manage the source directory as a git repo. - Use git-am(1) to apply patches instead of %patch. - Reformat a bunch of patches to conform to git-am's rules. - Add wfb to file manifest. - Drop afb, sorry Amiga users. - Delete the SecurityPolicy man page from the buildroot, until we have a xorg-x11-server-common. - Update to today's snapshot.
21 lines
854 B
Diff
21 lines
854 B
Diff
From: Adam Jackson <ajax@redhat.com>
|
|
Date: Sun, 28 Oct 2007 09:37:52 +0100
|
|
Subject: [PATCH] Fix magic number in fbdevhw
|
|
|
|
The transformation between fbdev and xfree86 mode timings needs to be
|
|
invertible, otherwise Xen and other framebuffers that don't have real
|
|
pixel clocks won't initialize.
|
|
|
|
---
|
|
--- 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;
|