Module: Mesa Branch: master Commit: aedfd8ede4c2e0ecad0a3796796b2f0610482ced URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=aedfd8ede4c2e0ecad0a3796796b2f0610482ced
Author: Eric Anholt <e...@anholt.net> Date: Wed Apr 4 09:57:51 2018 -0700 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 0d0405bf66..3f70539a1f 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); } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit