projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
754fcd6
)
intel: Clean up stale comments in intel_batchbuffer.c.
author
Eric Anholt
<eric@anholt.net>
Mon, 7 Jun 2010 15:45:07 +0000
(08:45 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 8 Jun 2010 20:42:02 +0000
(13:42 -0700)
src/mesa/drivers/dri/intel/intel_batchbuffer.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_batchbuffer.c
b/src/mesa/drivers/dri/intel/intel_batchbuffer.c
index d34176236b7e8f1ed1d18bc66c4988d5d4fef6cc..0ea0a4fb0781e566019dc82216652931f495227a 100644
(file)
--- 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) {