summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/iris/iris_batch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c
index ff005bb7d5f..ce8b8e2ce6c 100644
--- a/src/gallium/drivers/iris/iris_batch.c
+++ b/src/gallium/drivers/iris/iris_batch.c
@@ -508,8 +508,12 @@ submit_batch(struct iris_batch *batch, int in_fence_fd, int *out_fence_fd)
#if 1
int ret = drm_ioctl(batch->screen->fd, cmd, &execbuf);
- if (ret != 0)
+ if (ret != 0) {
ret = -errno;
+ DBG("execbuf FAILED: errno = %d\n", -ret);
+ } else {
+ DBG("execbuf succeeded\n");
+ }
#else
int ret = 0;
fprintf(stderr, "execbuf disabled for now\n");