intel: Mention how much data we're trying to subdata in perf debug.
authorEric Anholt <eric@anholt.net>
Fri, 12 Apr 2013 00:58:09 +0000 (17:58 -0700)
committerEric Anholt <eric@anholt.net>
Sun, 21 Apr 2013 19:28:03 +0000 (12:28 -0700)
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_buffer_objects.c

index 2342f1939b968a24f86414e958dcffdaf8c9e8f4..996518b4e92b09ad99d9ef7597c7a59ca92477a7 100644 (file)
@@ -211,8 +211,9 @@ intel_bufferobj_subdata(struct gl_context * ctx,
         intel_bufferobj_alloc_buffer(intel, intel_obj);
         drm_intel_bo_subdata(intel_obj->buffer, 0, size, data);
       } else {
-         perf_debug("Using a blit copy to avoid stalling on glBufferSubData() "
-                    "to a busy buffer object.\n");
+         perf_debug("Using a blit copy to avoid stalling on %ldb "
+                    "glBufferSubData() to a busy buffer object.\n",
+                    (long)size);
         drm_intel_bo *temp_bo =
            drm_intel_bo_alloc(intel->bufmgr, "subdata temp", size, 64);