summaryrefslogtreecommitdiff
path: root/src/savage_dri.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2006-09-19 00:09:01 -0400
committerAlex Deucher <alex@samba.(none)>2006-09-19 00:09:01 -0400
commita94abe5a59cf526ce0699d8356d239e1984d0907 (patch)
tree16963c1b7509abd69b331b654bb847235ec14eef /src/savage_dri.c
parentbaa74b10d7a1c304dba2d658e4d1336b7ee7e70e (diff)
minor exa updates
Diffstat (limited to 'src/savage_dri.c')
-rw-r--r--src/savage_dri.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c
index cefe1a7..6f79d94 100644
--- a/src/savage_dri.c
+++ b/src/savage_dri.c
@@ -352,7 +352,10 @@ static void SAVAGEWakeupHandler( int screenNum, pointer wakeupData,
#endif
psav->ShadowCounter = psav->ShadowVirtual[1023] & 0xffff;
}
- psav->AccelInfoRec->NeedToSync = TRUE;
+ if (psav->useEXA)
+ exaMarkSync(pScreen);
+ else
+ psav->AccelInfoRec->NeedToSync = TRUE;
/* FK: this flag doesn't seem to be used. */
}
@@ -1535,7 +1538,10 @@ SAVAGEDRIMoveBuffers(WindowPtr pParent, DDXPointRec ptOldOrg,
}
BCI_SEND(0xc0020000); /* wait for 2D idle */
- psav->AccelInfoRec->NeedToSync = TRUE;
+ if (psav->useEXA)
+ exaMarkSync(pScreen);
+ else
+ psav->AccelInfoRec->NeedToSync = TRUE;
}
static void