summaryrefslogtreecommitdiff
path: root/src/i810_accel.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-10-11 09:58:04 +0000
committerEgbert Eich <eich@suse.de>2004-10-11 09:58:04 +0000
commit687298daed40aaade44e61342a9abe984088541b (patch)
tree983da292bf6379cd8daea15b7b822e78b4bea31b /src/i810_accel.c
parentd2866271b8d42a0d44b65e30667adab96ac8fd54 (diff)
Checking if server isn't switched away before calling sync.
Sanity check for possible bugs in aother areas of the code. Fixing default amount of of allocated video memory from AGP for i810: Use 16MB if less than 192MB are installed else use 24MB (Matthias Hopf).
Diffstat (limited to 'src/i810_accel.c')
-rw-r--r--src/i810_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i810_accel.c b/src/i810_accel.c
index 2b0b594a..9a90e50d 100644
--- a/src/i810_accel.c
+++ b/src/i810_accel.c
@@ -259,7 +259,7 @@ I810Sync(ScrnInfoPtr pScrn)
#ifdef XF86DRI
/* VT switching tries to do this.
*/
- if (!pI810->LockHeld && pI810->directRenderingEnabled) {
+ if ((!pI810->LockHeld && pI810->directRenderingEnabled) || pScrn->vtSema) {
return;
}
#endif