aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc5/vc5_job.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-04-04 09:57:51 -0700
committerEric Anholt <[email protected]>2018-04-12 11:20:50 -0700
commitaedfd8ede4c2e0ecad0a3796796b2f0610482ced (patch)
treefccd063a4c521c6514176439a1485d4b01fff9b3 /src/gallium/drivers/vc5/vc5_job.c
parentdd9c476165bd4d76c5aec8f7320b7ed9d961ac7c (diff)
broadcom/vc5: Drop the throttling code.
Since I'll be using the DRM scheduler, we won't run into the problem of a runaway client starving other clients of GPU time.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_job.c')
-rw-r--r--src/gallium/drivers/vc5/vc5_job.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gallium/drivers/vc5/vc5_job.c b/src/gallium/drivers/vc5/vc5_job.c
index 0d0405bf669..3f70539a1fb 100644
--- a/src/gallium/drivers/vc5/vc5_job.c
+++ b/src/gallium/drivers/vc5/vc5_job.c
@@ -422,15 +422,6 @@ vc5_job_submit(struct vc5_context *vc5, struct vc5_job *job)
}
}
- if (vc5->last_emit_seqno - vc5->screen->finished_seqno > 5) {
- if (!vc5_wait_seqno(vc5->screen,
- vc5->last_emit_seqno - 5,
- PIPE_TIMEOUT_INFINITE,
- "job throttling")) {
- fprintf(stderr, "Job throttling failed\n");
- }
- }
-
done:
vc5_job_free(vc5, job);
}