Re: [Mesa-dev] [PATCH 3/3] i965: Completely annotate the batch bo when aub dumping.

2012-05-10 Thread Eric Anholt
On Thu, 10 May 2012 06:56:49 -0700, Paul Berry wrote: > On 9 May 2012 20:07, Eric Anholt wrote: > > > On Mon, 7 May 2012 14:32:18 -0700, Paul Berry > > wrote: > > > +/** > > > + * Generate a set of aub file annotations for the current batch buffer, > > and > > > + * deliver them to DRM. > > >

Re: [Mesa-dev] [PATCH 3/3] i965: Completely annotate the batch bo when aub dumping.

2012-05-10 Thread Paul Berry
On 9 May 2012 20:07, Eric Anholt wrote: > On Mon, 7 May 2012 14:32:18 -0700, Paul Berry > wrote: > > +/** > > + * Generate a set of aub file annotations for the current batch buffer, > and > > + * deliver them to DRM. > > + * > > + * The "used" section of the batch buffer (the portion containin

Re: [Mesa-dev] [PATCH 3/3] i965: Completely annotate the batch bo when aub dumping.

2012-05-09 Thread Eric Anholt
On Mon, 7 May 2012 14:32:18 -0700, Paul Berry wrote: > +/** > + * Generate a set of aub file annotations for the current batch buffer, and > + * deliver them to DRM. > + * > + * The "used" section of the batch buffer (the portion containing batch > + * commands) is annotated with AUB_TRACE_TYPE_B

[Mesa-dev] [PATCH 3/3] i965: Completely annotate the batch bo when aub dumping.

2012-05-07 Thread Paul Berry
Previously, when the environment variable INTEL_DEBUG=aub was set, mesa would simply instruct DRM to start dumping data to an .aub file, but we would not provide DRM with any information about the format of the data in various buffers. As a result, a lot of the data in the generate .aub file would