From: Kenneth Graunke Date: Wed, 1 Aug 2018 18:21:57 +0000 (-0700) Subject: iris: get angry about execbuf failures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d578e71d51e7330c98b66f272cc21ad552a184a;p=mesa.git iris: get angry about execbuf failures want this to be easy to detect for now --- 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"); }