From 2d578e71d51e7330c98b66f272cc21ad552a184a Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Wed, 1 Aug 2018 11:21:57 -0700 Subject: [PATCH] iris: get angry about execbuf failures want this to be easy to detect for now --- src/gallium/drivers/iris/iris_batch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c index 49477cad97e..6a601db191d 100644 --- a/src/gallium/drivers/iris/iris_batch.c +++ b/src/gallium/drivers/iris/iris_batch.c @@ -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"); } -- 2.30.2