Mesa (gallium-0.2): intel: Dump batchbuffer before sending to hw

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Thu Jan 29 02:00:56 UTC 2009


Module: Mesa
Branch: gallium-0.2
Commit: e67c020ad493269bab505d47ae5a7cac1e9ddb70
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e67c020ad493269bab505d47ae5a7cac1e9ddb70

Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date:   Thu Jan 29 01:33:49 2009 +0100

intel: Dump batchbuffer before sending to hw

---

 .../winsys/drm/intel/gem/intel_be_batchbuffer.c    |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c
index 78f5ea0..d891711 100644
--- a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c
+++ b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c
@@ -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;




More information about the mesa-commit mailing list