aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2019-09-15 20:31:01 +0200
committerBoris Brezillon <[email protected]>2019-10-03 16:55:38 -0400
commit70cf93c4d76c573e816c63d4809c0fcc538dbcd4 (patch)
treeac186db33a3b2116f996d56415f65ae9e00aa2eb
parent0a12a16bae9c4e47354894bfcf5270c04f49ef1f (diff)
panfrost: Kill the explicit serialization in panfrost_batch_submit()
Now that we have all the pieces in place to support pipelining batches we can get rid of the drmSyncobjWait() at the end of panfrost_batch_submit(). Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r--src/gallium/drivers/panfrost/pan_job.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gallium/drivers/panfrost/pan_job.c b/src/gallium/drivers/panfrost/pan_job.c
index 8ffd92913d8..a56f4044fda 100644
--- a/src/gallium/drivers/panfrost/pan_job.c
+++ b/src/gallium/drivers/panfrost/pan_job.c
@@ -879,7 +879,6 @@ panfrost_batch_submit(struct panfrost_batch *batch)
panfrost_batch_submit((*dep)->batch);
}
- struct panfrost_context *ctx = batch->ctx;
int ret;
/* Nothing to do! */
@@ -903,18 +902,7 @@ panfrost_batch_submit(struct panfrost_batch *batch)
out:
panfrost_freeze_batch(batch);
-
- /* We always stall the pipeline for correct results since pipelined
- * rendering is quite broken right now (to be fixed by the panfrost_job
- * refactor, just take the perf hit for correctness)
- */
- if (!batch->out_sync->signaled)
- drmSyncobjWait(pan_screen(ctx->base.screen)->fd,
- &batch->out_sync->syncobj, 1, INT64_MAX, 0,
- NULL);
-
panfrost_free_batch(batch);
-
}
void