diff options
author | Keith Packard <keithp@keithp.com> | 2008-06-20 00:23:45 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-06-20 00:24:02 -0700 |
commit | 9d7929436488969ca4fd1fef4d2e92be5e1a93aa (patch) | |
tree | dd84135a4b7b9c631420d835dbfd38384a736058 | |
parent | 2f8a0aa8cd24ede824aa52102b45a295f1b6b5be (diff) |
Flush pending batch in block handler
Make sure any pending rendering commands are delivered to the hardware
before the server goes to sleep.
-rw-r--r-- | src/i830_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 580cbbc0..5525aec4 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -2496,7 +2496,7 @@ I830BlockHandler(int i, * rendering results may not hit the framebuffer until significantly * later. */ - if (!pI830->noAccel && pI830->need_mi_flush) + if (!pI830->noAccel && (pI830->need_mi_flush || pI830->batch_used)) I830EmitFlush(pScrn); /* Flush the batch, so that any rendering is executed in a timely |