diff options
author | Eric Anholt <eric@anholt.net> | 2009-04-27 11:18:07 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-04-27 11:19:00 -0700 |
commit | e55d943126cdd3eac7dfec5f40e794f89dbf038b (patch) | |
tree | 4c879c39238eae0b8c3e54e8bb60e51863b03f9b /src | |
parent | 9748aa5594a8357754c06dd82108b131260b1a71 (diff) |
Don't try to do anything for I830Sync when VT switched.
Fixes a crash with fake bufmgr and UXA.
Diffstat (limited to 'src')
-rw-r--r-- | src/i830_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_accel.c b/src/i830_accel.c index 67f264c2..cae36dc8 100644 --- a/src/i830_accel.c +++ b/src/i830_accel.c @@ -177,7 +177,7 @@ I830Sync(ScrnInfoPtr pScrn) if (I810_DEBUG & (DEBUG_VERBOSE_ACCEL | DEBUG_VERBOSE_SYNC)) ErrorF("I830Sync\n"); - if (pI830->accel == ACCEL_NONE) + if (pI830->accel == ACCEL_NONE || !pScrn->vtSema || !pI830->batch_bo) return; #ifdef XF86DRI |