diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-01-28 23:24:42 +0100 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-01-28 23:28:10 +0100 |
commit | 72b2733287ee89916d6180becf65ff3b45d5a23a (patch) | |
tree | d80c809a1e3886b5c824e831f1f05b2b2b4d06fa /src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c | |
parent | 1642dd2f86938242bfa8293323daaaf64573976f (diff) |
i915: Add verbose debuging
Only enabled while in development this commit
will be reverted in the future.
Diffstat (limited to 'src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c | 7 |
1 files changed, 7 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 b7bc3ee1c9..6efa68626b 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_batchbuffer.c @@ -105,10 +105,17 @@ intel_be_batchbuffer_flush(struct intel_be_batchbuffer *batch, batch->base.ptr += 8; } + 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); |