From aedfd8ede4c2e0ecad0a3796796b2f0610482ced Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 4 Apr 2018 09:57:51 -0700 Subject: [PATCH] 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. --- src/gallium/drivers/vc5/vc5_job.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/gallium/drivers/vc5/vc5_job.c b/src/gallium/drivers/vc5/vc5_job.c index 0d0405b..3f70539 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); } -- 2.7.4