From: Kenneth Graunke Date: Sat, 20 Jan 2018 02:35:24 +0000 (-0800) Subject: iris: disable execbuf for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=455e2d6dcee51c459ee41ead2279116aa614a983;p=mesa.git iris: disable execbuf for now --- 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];