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

Eric Anholt eric at anholt.net
Tue Mar 19 17:10:34 PDT 2013

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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130319/12e188f4/attachment.pgp>

More information about the mesa-dev mailing list