summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 5d5a3c5d..91e5ac97 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -868,7 +868,9 @@ I830BlockHandler(int i, pointer blockData, pointer pTimeout, pointer pReadmask)
* rendering results may not hit the framebuffer until significantly
* later.
*/
- intel_batch_submit(scrn, intel->need_mi_flush);
+ intel_batch_submit(scrn,
+ intel->need_mi_flush ||
+ !list_is_empty(intel->flush_pixmaps));
drmCommandNone(intel->drmSubFD, DRM_I915_GEM_THROTTLE);
}