[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 09:28:23 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).

Sensible, but do you want INTEL_DEBUG=flush to capture pipecontrol
flush/invalidates?

INTEL_DEBUG=submit?
-Chris


More information about the mesa-dev mailing list