From: Eric Anholt Date: Wed, 4 Apr 2018 16:57:51 +0000 (-0700) Subject: broadcom/vc5: Drop the throttling code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aedfd8ede4c2e0ecad0a3796796b2f0610482ced;p=mesa.git 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. --- 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); }