iris: disable execbuf for now

This commit is contained in:
Kenneth Graunke 2018-01-19 18:35:24 -08:00
parent 86e0c08b14
commit 455e2d6dce

View file

@ -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];