[Mesa-dev] [PATCH] i965: Add a driconf option to disable flush throttling.

Paul Berry stereotype441 at gmail.com
Wed Mar 20 08:51:09 PDT 2013

On 19 March 2013 17:10, Eric Anholt <eric at anholt.net> wrote:

> Paul Berry <stereotype441 at gmail.com> writes:
> > Normally when submitting the first batch buffer after a flush, we
> > check whether the GPU has completed processing of the first batch
> > buffer of the previous frame.  If it hasn't, we wait for it to finish
> > before submitting any more batches.  This prevents GPU-heavy and
> > CPU-light applications from racing too far ahead of the current frame,
> > but at the expense of possibly lower frame rates.  Sometimes when
> > benchmarking we want to disable this mechanism.
> >
> > This patch adds the driconf option "disable_throttling" to disable the
> > throttling mechanism.
> We often do our driver-specific options inside of intel_screen.c, but I
> suppose this way someone could potentially translate it.
> Reviewed-by: Eric Anholt <eric at anholt.net>
> Have you found any interesting cases where this is a problem?

I think Ken found a benchmark where there was a marginal improvement, but I
don't recall exactly what it was.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130320/1fc51193/attachment-0001.html>

More information about the mesa-dev mailing list