iris: get angry about execbuf failures

want this to be easy to detect for now
This commit is contained in:
Kenneth Graunke 2018-08-01 11:21:57 -07:00
parent a378ee3607
commit 2d578e71d5

View file

@ -437,6 +437,8 @@ submit_batch(struct iris_batch *batch, int in_fence_fd, int *out_fence_fd)
if (ret != 0) {
ret = -errno;
DBG("execbuf FAILED: errno = %d\n", -ret);
fprintf(stderr, "execbuf FAILED: errno = %d\n", -ret);
abort();
} else {
DBG("execbuf succeeded\n");
}