projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14cec07
)
intel: Add missing perf debug for a stall on mapping a BO.
author
Eric Anholt
<eric@anholt.net>
Fri, 22 Feb 2013 22:39:15 +0000
(14:39 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 5 Mar 2013 22:25:00 +0000
(14:25 -0800)
I was testing the ARB_debug_output code and wrote an obvious sample that
should have hit this, and got confused that my ARB_debug_output was
broken.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/intel/intel_buffer_objects.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_buffer_objects.c
b/src/mesa/drivers/dri/intel/intel_buffer_objects.c
index 34eb7c9ea2c0ea6b8f8c4cec5a68c1f1a612aece..ac265db4a66cf6cc1b9cc090efca308149b756bc 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_buffer_objects.c
+++ b/
src/mesa/drivers/dri/intel/intel_buffer_objects.c
@@
-330,6
+330,8
@@
intel_bufferobj_map_range(struct gl_context * ctx,
drm_intel_bo_unreference(intel_obj->buffer);
intel_bufferobj_alloc_buffer(intel, intel_obj);
} else {
+ perf_debug("Stalling on the GPU for mapping a busy buffer "
+ "object\n");
intel_flush(ctx);
}
} else if (drm_intel_bo_busy(intel_obj->buffer) &&