summaryrefslogtreecommitdiff
path: root/src/intel_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel_driver.c')
-rw-r--r--src/intel_driver.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/intel_driver.c b/src/intel_driver.c
index 15437023..75cd1560 100644
--- a/src/intel_driver.c
+++ b/src/intel_driver.c
@@ -2168,17 +2168,8 @@ intel_flush_callback(CallbackListPtr *list,
pointer user_data, pointer call_data)
{
ScrnInfoPtr scrn = user_data;
- intel_screen_private *intel = intel_get_screen_private(scrn);
-
- if (scrn->vtSema) {
- /* Emit a flush of the rendering cache, or on the 965
- * and beyond rendering results may not hit the
- * framebuffer until significantly later.
- */
- intel_batch_submit(scrn,
- intel->need_mi_flush ||
- !list_is_empty(&intel->flush_pixmaps));
- }
+ if (scrn->vtSema)
+ intel_batch_submit(scrn, FALSE);
}
static Bool