intel: Remove debug print
authorJakob Bornecrantz <wallbraker@gmail.com>
Fri, 30 Jan 2009 00:55:09 +0000 (01:55 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Fri, 30 Jan 2009 00:55:09 +0000 (01:55 +0100)
src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c
src/gallium/winsys/drm/intel/gem/intel_be_context.c

index 517c693a9b293f184ccf86566f856ae971d2d29c..d9556e1f38427dec9201ca02f5337e2af86679a9 100644 (file)
@@ -68,8 +68,6 @@ intel_be_offset_relocation(struct intel_be_batchbuffer *batch,
 
        offset = (unsigned)(batch->base.ptr - batch->base.map);
 
-       debug_printf("   - offset: %p\n", offset);
-
        ret = drm_intel_bo_emit_reloc(batch->bo, offset,
                                      bo, pre_add,
                                      read_domains,
@@ -106,18 +104,10 @@ intel_be_batchbuffer_flush(struct intel_be_batchbuffer *batch,
                i915_batchbuffer_dword(i915, (0x0<<29)|(0xA<<23)); // MI_BATCH_BUFFER_END;
        }
 
-       i915_dump_batchbuffer(i915);
-       debug_printf("%s\n", __FUNCTION__);
-
        used = batch->base.ptr - batch->base.map;
 
-       debug_printf("   - subdata\n");
        drm_intel_bo_subdata(batch->bo, 0, used, batch->base.map);
-       debug_printf("   - exec\n");
        ret = drm_intel_bo_exec(batch->bo, used, NULL, 0, 0);
-       debug_printf("   - waiting\n");
-       drm_intel_bo_wait_rendering(batch->bo);
-       debug_printf("   - done\n");
 
        assert(ret == 0);
 
index c1f18a3a04dcdbb014b477cb9f17015bec2d82d0..95e761d78d0f8050010992909c43ef5d4656e007 100644 (file)
@@ -33,15 +33,13 @@ intel_be_batch_reloc(struct i915_winsys *sws,
                read |= I915_GEM_DOMAIN_VERTEX;
        }
 
-    debug_printf("%s\n", __FUNCTION__);
-       debug_printf("   - flags: %u, read: %u, write: %u, delta: %p\n", access_flags, read, write, delta);
        ret = intel_be_offset_relocation(intel->batch,
                                         delta,
                                         bo,
                                         read,
                                         write);
-    debug_printf("   - ret = %i\n", ret);
     assert(ret == 0);
+
        /* TODO change return type */
        /* return ret; */
 }