summaryrefslogtreecommitdiff
path: root/src/i965_video.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-12-02 20:48:37 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2009-12-02 20:49:54 +0000
commit98e11210367c950e3f932419d2a4722cf971885d (patch)
tree790b08dc9a2c66efe9db59717fe4abc65f520563 /src/i965_video.c
parent57336c26f1fb90d43851ddcf78539585b67d86d9 (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/i965_video.c')
-rw-r--r--src/i965_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_video.c b/src/i965_video.c
index f17999cf..cc9b309b 100644
--- a/src/i965_video.c
+++ b/src/i965_video.c
@@ -1213,7 +1213,7 @@ I965DisplayVideoTextured(ScrnInfoPtr scrn,
if (drm_intel_bufmgr_check_aperture_space(bo_table,
ARRAY_SIZE(bo_table))
< 0) {
- intel_batch_flush(scrn, FALSE);
+ intel_batch_flush(scrn);
}
intel_batch_start_atomic(scrn, 100);