diff options
author | Eric Anholt <eric@anholt.net> | 2010-06-07 08:45:07 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-06-08 13:42:02 -0700 |
commit | 22409756d4ed941f2ec6729ab0c312149749106f (patch) | |
tree | 73fea6239d7b93b2ee61dc55726f964e1cff1099 /src/mesa | |
parent | 754fcd605b200c1983d2840931b7cf8d638116df (diff) |
intel: Clean up stale comments in intel_batchbuffer.c.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_batchbuffer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c index d34176236b..0ea0a4fb07 100644 --- a/src/mesa/drivers/dri/intel/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.c @@ -126,7 +126,7 @@ _intel_batchbuffer_flush(struct intel_batchbuffer *batch, const char *file, used); batch->reserved_space = 0; - /* Emit a flush if the bufmgr doesn't do it for us. */ + if (intel->always_flush_cache) { intel_batchbuffer_emit_mi_flush(batch); used = batch->ptr - batch->map; @@ -163,9 +163,6 @@ _intel_batchbuffer_flush(struct intel_batchbuffer *batch, const char *file, /* Check that we didn't just wrap our batchbuffer at a bad time. */ assert(!intel->no_batch_wrap); - /* TODO: Just pass the relocation list and dma buffer up to the - * kernel. - */ do_flush_locked(batch, used); if (INTEL_DEBUG & DEBUG_SYNC) { |