[Mesa-dev] [PATCH] i965: Dump more information about batch buffer usage.

Paul Berry stereotype441 at gmail.com
Thu Aug 15 22:16:19 PDT 2013


On 14 August 2013 17:09, Kenneth Graunke <kenneth at whitecape.org> wrote:

> Previously, INTEL_DEBUG=bat would dump messages like:
>
> intel_mipmap_tree.c:1643: Batchbuffer flush with 456b used
>
> This only reported the space used for command packets, and didn't
> report any information on the space used for indirect state.
>
> Now it dumps:
>
> intel_context.c:366: Batchbuffer flush with 6128b (pkt) + 4288b (state)
> = 10416b (31.8%)
>
> This conveniently shows the breakdown of space used for packets vs.
> state, as well as the percentage of batchbuffer space.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
>

Reviewed-by: Paul Berry <stereotype441 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130815/0bfaa057/attachment.html>


More information about the mesa-dev mailing list