Re: [Mesa-dev] [RFC 0/6] i965: INTEL_performance_query re-work

2015-05-12 Thread Robert Bragg
On Wed, May 6, 2015 at 9:36 AM, Samuel Pitoiset samuel.pitoi...@gmail.com wrote: On 05/06/2015 02:53 AM, Robert Bragg wrote: As we've learned more about the observability capabilities of Gen graphics we've found that it's not enough to only try and configure the OA unit from userspace

Re: [Mesa-dev] [RFC 0/6] i965: INTEL_performance_query re-work

2015-05-12 Thread Robert Bragg
Petri Latval wrote some piglit test for the core INTEL_performance_query behaviour (i.e not assuming anything about the semantics of the counters themselves) that he sent to the list some time last year, but unfortunately they fell through the cracks and never landed. The other week I revived

Re: [Mesa-dev] [RFC 0/6] i965: INTEL_performance_query re-work

2015-05-11 Thread Samuel Pitoiset
Did you write piglit tests according to what the spec says, btw ? On 05/06/2015 02:53 AM, Robert Bragg wrote: As we've learned more about the observability capabilities of Gen graphics we've found that it's not enough to only try and configure the OA unit from userspace without any dedicated

Re: [Mesa-dev] [RFC 0/6] i965: INTEL_performance_query re-work

2015-05-06 Thread Samuel Pitoiset
On 05/06/2015 02:53 AM, Robert Bragg wrote: As we've learned more about the observability capabilities of Gen graphics we've found that it's not enough to only try and configure the OA unit from userspace without any dedicated support from the kernel. Hi Robert, Yeah, this is the same idea

Re: [Mesa-dev] [RFC 0/6] i965: INTEL_performance_query re-work

2015-05-06 Thread Daniel Vetter
On Wed, May 06, 2015 at 10:36:15AM +0200, Samuel Pitoiset wrote: On 05/06/2015 02:53 AM, Robert Bragg wrote: As we've learned more about the observability capabilities of Gen graphics we've found that it's not enough to only try and configure the OA unit from userspace without any

Re: [Mesa-dev] [RFC 0/6] i965: INTEL_performance_query re-work

2015-05-06 Thread Martin Peres
On 06/05/15 17:02, Daniel Vetter wrote: On Wed, May 06, 2015 at 10:36:15AM +0200, Samuel Pitoiset wrote: On 05/06/2015 02:53 AM, Robert Bragg wrote: As we've learned more about the observability capabilities of Gen graphics we've found that it's not enough to only try and configure the OA

[Mesa-dev] [RFC 0/6] i965: INTEL_performance_query re-work

2015-05-05 Thread Robert Bragg
As we've learned more about the observability capabilities of Gen graphics we've found that it's not enough to only try and configure the OA unit from userspace without any dedicated support from the kernel. As it is currently the i965 backends for both AMD_performance_monitor and