Re: [Mesa-dev] [PATCH v2] i965: Implement INTEL_performance_query backend

2017-02-26 Thread Jonathan Gray
On Thu, Feb 16, 2017 at 01:20:37PM +, Robert Bragg wrote: > diff --git a/src/mesa/drivers/dri/i965/brw_performance_query.c > b/src/mesa/drivers/dri/i965/brw_performance_query.c > new file mode 100644 > index 00..f1b6f583bf > --- /dev/null > +++ b/src/mesa/drivers/dri/i965/brw_performan

Re: [Mesa-dev] [PATCH v2] i965: Implement INTEL_performance_query backend

2017-02-22 Thread Robert Bragg
On Wed, Feb 22, 2017 at 1:26 AM, Kenneth Graunke wrote: > On Thursday, February 16, 2017 5:20:37 AM PST Robert Bragg wrote: > [snip] >> + switch(obj->query->kind) { > > Space after "switch" please. Oh, oops, repeated that in a few places. > > Patch 3 is: > Reviewed-by: Kenneth Graunke Thanks

Re: [Mesa-dev] [PATCH v2] i965: Implement INTEL_performance_query backend

2017-02-21 Thread Kenneth Graunke
On Thursday, February 16, 2017 5:20:37 AM PST Robert Bragg wrote: [snip] > + switch(obj->query->kind) { Space after "switch" please. Patch 3 is: Reviewed-by: Kenneth Graunke signature.asc Description: This is a digitally signed message part. ___ me

[Mesa-dev] [PATCH v2] i965: Implement INTEL_performance_query backend

2017-02-16 Thread Robert Bragg
I forgot to fold back the addition of pipeline stalls around queries from a later patch (a detailed explanation is included as a comment in the code below). --- >8 --- (git am --scissor) This adds a bare-bones backend for the INTEL_performance_query extension that exposes pipeline statistics. Al