summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/iris_batch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c
index 4fd08fcc940..90a24140661 100644
--- a/src/gallium/drivers/iris/iris_batch.c
+++ b/src/gallium/drivers/iris/iris_batch.c
@@ -524,9 +524,14 @@ submit_batch(struct iris_batch *batch, int in_fence_fd, int *out_fence_fd)
execbuf.flags |= I915_EXEC_FENCE_OUT;
}
+#if 0
int ret = drm_ioctl(batch->screen->fd, cmd, &execbuf);
if (ret != 0)
ret = -errno;
+#else
+ int ret = 0;
+ fprintf(stderr, "execbuf disabled for now\n");
+#endif
for (int i = 0; i < batch->exec_count; i++) {
struct iris_bo *bo = batch->exec_bos[i];