mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-04-30 23:58:01 +02:00
intel: Print out debugging message following ENOSPC
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>
This commit is contained in:
parent
f16b4164d6
commit
13e8270504
1 changed files with 1 additions and 1 deletions
|
|
@ -1608,7 +1608,7 @@ drm_intel_gem_bo_mrb_exec2(drm_intel_bo *bo, int used,
|
|||
|
||||
if (ret != 0) {
|
||||
ret = -errno;
|
||||
if (ret == -ENOMEM) {
|
||||
if (ret == -ENOSPC) {
|
||||
fprintf(stderr,
|
||||
"Execbuffer fails to pin. "
|
||||
"Estimate: %u. Actual: %u. Available: %u\n",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue