[Mesa-dev] [PATCH 02/17] i965: Add an INTEL_DEBUG=flush option for printing batch statistics.

Chris Wilson chris at chris-wilson.co.uk
Wed Sep 6 12:09:33 UTC 2017


Quoting Kenneth Graunke (2017-09-06 01:09:35)
> When a batch is flushed, INTEL_DEBUG=bat prints a message indicating
> which part of the code triggered the flushed, and some statistics about
> the batch/state buffer utilization.
> 
> It also decodes the batchbuffer in debug builds...which is so much
> output that it drowns out the utilization messages, if that's all you
> care about.
> 
> INTEL_DEBUG=flush now just does the utilization messages.
> INTEL_DEBUG=bat continues to do both (as the message is a good indicator
> that we're starting decode of a new batch).

Something useful to add here would be num_exec_bo, num_batch_reloc,
num_state_reloc.
-Chris


More information about the mesa-dev mailing list