projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f16b416
)
intel: Print out debugging message following ENOSPC
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 21 Jun 2010 14:38:06 +0000
(15:38 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 21 Jun 2010 21:37:18 +0000
(22:37 +0100)
execbuffer() returns ENOSPC if it cannot fit the batch buffer into the
aperture which is the error we want to diagnose here.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
intel/intel_bufmgr_gem.c
patch
|
blob
|
history
diff --git
a/intel/intel_bufmgr_gem.c
b/intel/intel_bufmgr_gem.c
index
b0d1651
..
37b7467
100644
(file)
--- a/
intel/intel_bufmgr_gem.c
+++ b/
intel/intel_bufmgr_gem.c
@@
-1608,7
+1608,7
@@
drm_intel_gem_bo_mrb_exec2(drm_intel_bo *bo, int used,
if (ret != 0) {
ret = -errno;
- if (ret == -ENO
MEM
) {
+ if (ret == -ENO
SPC
) {
fprintf(stderr,
"Execbuffer fails to pin. "
"Estimate: %u. Actual: %u. Available: %u\n",