iris: get angry about execbuf failures
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 1 Aug 2018 18:21:57 +0000 (11:21 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:08 +0000 (10:26 -0800)
want this to be easy to detect for now

src/gallium/drivers/iris/iris_batch.c

index 49477cad97e3a499dc8e60fa3c35f121caeeceef..6a601db191df110c00de8a5322b258b000d4d554 100644 (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");
    }