broadcom/vc5: Drop the throttling code.
authorEric Anholt <eric@anholt.net>
Wed, 4 Apr 2018 16:57:51 +0000 (09:57 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 12 Apr 2018 18:20:50 +0000 (11:20 -0700)
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

index 0d0405bf6692955071b009edba1ef829b1018447..3f70539a1fbfb3acb6c66c51146e98fa2167607f 100644 (file)
@@ -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);
 }