summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-07-30 21:36:40 +0000
committerEgbert Eich <eich@suse.de>2004-07-30 21:36:40 +0000
commitc4626af83d760c2a6aae90ad478430eac1c4f4ea (patch)
tree7baa05ec53ce5d6516efd232ca1880bbd78a8b9b
parente0e01b7d6188a83c7539256ac1710ace04ce132a (diff)
Do I810EmitFlush() during screen init to make sure 2D engine is in a sane stateXORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1
(Peter Kunzmann).
-rw-r--r--src/i810_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i810_driver.c b/src/i810_driver.c
index f97bacf6..bb5d3a43 100644
--- a/src/i810_driver.c
+++ b/src/i810_driver.c
@@ -2186,7 +2186,8 @@ I810ScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
if (!I810AccelInit(pScreen)) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"Hardware acceleration initialization failed\n");
- }
+ } else /* PK added 16.02.2004 */
+ I810EmitFlush(pScrn);
}
}