From cbe8b75b586b22006783af0ed1ebba87b00ce61a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 11 Apr 2013 17:58:09 -0700 Subject: [PATCH] intel: Mention how much data we're trying to subdata in perf debug. Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/intel/intel_buffer_objects.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_buffer_objects.c b/src/mesa/drivers/dri/intel/intel_buffer_objects.c index 2342f1939b9..996518b4e92 100644 --- a/src/mesa/drivers/dri/intel/intel_buffer_objects.c +++ b/src/mesa/drivers/dri/intel/intel_buffer_objects.c @@ -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); -- 2.30.2