From: Eric Anholt Date: Fri, 12 Apr 2013 00:58:09 +0000 (-0700) Subject: intel: Mention how much data we're trying to subdata in perf debug. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cbe8b75b586b22006783af0ed1ebba87b00ce61a;p=mesa.git intel: Mention how much data we're trying to subdata in perf debug. Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke --- 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);