debian/changelog                                  |    4 ++
 debian/patches/152_xserver_exa_force_greedy.patch |   32 ++++++++++++++++++++++
 debian/patches/series                             |    1 
 3 files changed, 36 insertions(+), 1 deletion(-)

New commits:
commit 7de90ec5e72bb2fa1874abb549311e8f0cd57c1f
Author: Bryce Harrington <[EMAIL PROTECTED]@bryceharrington.org>
Date:   Tue Feb 19 13:37:05 2008 -0800

    Adding patch

diff --git a/debian/changelog b/debian/changelog
index ba75ffc..fc12389 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
-xorg-server (2:1.4.1~git20080131-1ubuntu3) UNRELEASED; urgency=low
+xorg-server (2:1.4.1~git20080131-1ubuntu3) hardy; urgency=low
 
-  [Bryce Harrington]
+  * Add 151_xserver_exa_force_greedy.patch to provide a mechanism for
+    drivers to force greedy mode on.  (LP: #177492, others)
   * Add 150_edid_quirk_lp154w01.patch to fix font size on LGPhilipsLCD
     LP154W01-TLAE (LP: #127827)
   * Add 149_add_quirks_for_physical_screen_size_issues.patch to help
diff --git a/debian/patches/series b/debian/patches/series
index c5cf93f..857f083 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -44,3 +44,4 @@
 148_dix_touchscreen_fixes.diff
 149_add_quirks_for_physical_screen_size_issues.patch
 150_edid_quirk_lp154w01.patch
+151_xserver_exa_force_greedy.patch

commit 574aa01a3a564d63ef8cd3a953211ce4017e708b
Author: Bryce Harrington <[EMAIL PROTECTED]@bryceharrington.org>
Date:   Tue Feb 19 13:34:52 2008 -0800

    Patch to enable setting greedy mode, for fixing bug 177492 (EXA w/ 965
    issues).

diff --git a/debian/patches/151_xserver_exa_force_greedy.patch 
b/debian/patches/151_xserver_exa_force_greedy.patch
new file mode 100644
index 0000000..b48c030
--- /dev/null
+++ b/debian/patches/151_xserver_exa_force_greedy.patch
@@ -0,0 +1,32 @@
+diff -Nurp xorg-server-patched/exa/exa.c xorg-server-working/exa/exa.c
+--- xorg-server-patched/exa/exa.c      2008-02-19 11:16:26.000000000 -0800
++++ xorg-server-working/exa/exa.c      2008-02-19 11:48:42.000000000 -0800
+@@ -643,6 +643,11 @@ exaDriverInit (ScreenPtr          pScreen,
+     pScreen->devPrivates[exaScreenPrivateIndex].ptr = (pointer) pExaScr;
+ 
+     pExaScr->migration = ExaMigrationAlways;
++    if (pScreenInfo->flags & EXA_MIGRATION_GREEDY) {
++        pExaScr->migration = ExaMigrationGreedy;
++        LogMessage(X_INFO, "EXA(%d): Forcing greedy migration option\n",
++                 pScreen->myNum);
++    }
+ 
+     exaDDXDriverInit(pScreen);
+ 
+diff -Nurp xorg-server-patched/exa/exa.h xorg-server-working/exa/exa.h
+--- xorg-server-patched/exa/exa.h      2008-02-19 11:16:26.000000000 -0800
++++ xorg-server-working/exa/exa.h      2008-02-19 11:19:36.000000000 -0800
+@@ -695,6 +695,13 @@ typedef struct _ExaDriver {
+  * (right-to-left, bottom-to-top).
+  */
+ #define EXA_TWO_BITBLT_DIRECTIONS     (1 << 2)
++
++/**
++ * EXA_MIGRATION_GREEDY indicates to EXA that the driver prefers to
++ * use the "greedy" migration heuristic.  This is to work around
++ * issues with EXA on the Intel 965 chipset. (LP: #177492)
++ */
++#define EXA_MIGRATION_GREEDY            (1 << 3)
+ /** @} */
+ 
+ ExaDriverPtr


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to