File u_Disable-tiling-on-SuperSavage-Novell-Bugzilla-805380.patch of Package xf86-video-savage

From 924e9cafc7607d59577de3fb490e538b06e083c0 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Sat, 2 Mar 2013 05:07:04 +0100
Subject: [PATCH] Disable tiling on SuperSavage (Novell Bugzilla #805380)

---
 src/savage_driver.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/savage_driver.c b/src/savage_driver.c
index 5b49e60..b2e8174 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -1668,7 +1668,11 @@ static Bool SavagePreInit(ScrnInfoPtr pScrn, int flags)
 #endif
 
     /* we can use Option "DisableTile TRUE" to disable tile mode */
-    psav->bDisableTile = FALSE; 
+    if (psav->Chipset == S3_SUPERSAVAGE)
+        /* apparently broken with these GPUs, see Novell Bugzilla #805380 */
+	psav->bDisableTile = TRUE;
+    else
+	psav->bDisableTile = FALSE; 
     if (xf86GetOptValBool(psav->Options, OPTION_DISABLE_TILE,&psav->bDisableTile)) {
         xf86DrvMsg(pScrn->scrnIndex, X_CONFIG,
                    "Option: %s Tile Mode and Program it \n",(psav->bDisableTile?"Disable":"Enable"));
-- 
1.7.10.4

openSUSE Build Service is sponsored by