Mesa (master): intel: Clean up stale comments in intel_batchbuffer.c.

Eric Anholt anholt at kemper.freedesktop.org
Tue Jun 8 13:42:22 PDT 2010


Module: Mesa
Branch: master
Commit: 22409756d4ed941f2ec6729ab0c312149749106f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=22409756d4ed941f2ec6729ab0c312149749106f

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Jun  7 08:45:07 2010 -0700

intel: Clean up stale comments in intel_batchbuffer.c.

---

 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 d341762..0ea0a4f 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) {



More information about the mesa-commit mailing list