summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/iris/iris_batch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c
index 59df0ebe942..0734a2a3d41 100644
--- a/src/gallium/drivers/iris/iris_batch.c
+++ b/src/gallium/drivers/iris/iris_batch.c
@@ -581,11 +581,12 @@ _iris_batch_flush_fence(struct iris_batch *batch,
}
int ret = submit_batch(batch, in_fence_fd, out_fence_fd);
- if (ret < 0)
- return ret;
//throttle(iris);
+ if (ret < 0)
+ return ret;
+
if (unlikely(INTEL_DEBUG & DEBUG_BATCH))
decode_batch(batch);