diff options
author | Kenneth Graunke <[email protected]> | 2018-02-09 16:45:04 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:05 -0800 |
commit | f3150e9ecd1913a24fe85520c029c0425b210e66 (patch) | |
tree | aa44a11f607abd38e5487b63192a90f849674e71 | |
parent | a50a3a8edfddbabf6ed6b3fd55e7b6bc97fb225e (diff) |
iris: warn if execbuf fails
-rw-r--r-- | src/gallium/drivers/iris/iris_batch.c | 6 |
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"); |