intel: Dump batchbuffer before sending to hw
authorJakob Bornecrantz <wallbraker@gmail.com>
Thu, 29 Jan 2009 00:33:49 +0000 (01:33 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Thu, 29 Jan 2009 02:00:15 +0000 (03:00 +0100)
src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c

index 78f5ea0468f9cf74c181fe68260804eaebe763ef..d89171171273123937723cbe77e9ee1da8756089 100644 (file)
@@ -1,4 +1,5 @@
 
+#include "i915simple/i915_debug.h"
 #include "intel_be_batchbuffer.h"
 #include "intel_be_context.h"
 #include "intel_be_device.h"
@@ -105,6 +106,7 @@ intel_be_batchbuffer_flush(struct intel_be_batchbuffer *batch,
                batch->base.ptr += 8;
        }
 
+       i915_dump_batchbuffer(i915);
        debug_printf("%s\n", __FUNCTION__);
 
        used = batch->base.ptr - batch->base.map;