summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-01-19 18:35:24 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commit455e2d6dcee51c459ee41ead2279116aa614a983 (patch)
treee3bfbc7c0d1ad0c572609749804ea371ba9ad037 /src/gallium
parent86e0c08b143d04974032a7024989e68e33d9455a (diff)
iris: disable execbuf for now
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];