diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-02 20:48:37 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-02 20:49:54 +0000 |
commit | 98e11210367c950e3f932419d2a4722cf971885d (patch) | |
tree | 790b08dc9a2c66efe9db59717fe4abc65f520563 /src/i830_driver.c | |
parent | 57336c26f1fb90d43851ddcf78539585b67d86d9 (diff) |
Remove flush parameter from intel_batch_flush()
There is only a single caller that wishes to forcibly append a flush
into the batch: intel_sync(). So move the logic there.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r-- | src/i830_driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c index 7ab4e968..21fb2ba3 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -997,7 +997,8 @@ I830BlockHandler(int i, pointer blockData, pointer pTimeout, pointer pReadmask) /* Flush the batch, so that any rendering is executed in a timely * fashion. */ - intel_batch_flush(scrn, flush); + if (flush) + intel_batch_pipelined_flush(scrn); drmCommandNone(intel->drmSubFD, DRM_I915_GEM_THROTTLE); intel->need_mi_flush = FALSE; |