Re: [Mesa-dev] [PATCH 5/6] mesa: Implement INTEL_performance_query.

2014-04-22 Thread Petri Latvala
On 04/19/2014 12:34 AM, Ian Romanick wrote: On 03/17/2014 01:43 AM, Petri Latvala wrote: + if (queryName) { + strncpy(queryName, group_obj->Name, queryNameLength); + /* No specification given about whether the string needs to be + * zero-terminated. Zero-terminate the string an

Re: [Mesa-dev] [PATCH 5/6] mesa: Implement INTEL_performance_query.

2014-04-18 Thread Ian Romanick
On 03/17/2014 01:43 AM, Petri Latvala wrote: > Using the existing driver hooks made for AMD_performance_monitor, implement > INTEL_performance_query functions. > > v2: Whitespace changes. With the formatting nits mentioned below fixed, this patch is Reviewed-by: Ian Romanick > Signed-off-by: P

[Mesa-dev] [PATCH 5/6] mesa: Implement INTEL_performance_query.

2014-03-17 Thread Petri Latvala
Using the existing driver hooks made for AMD_performance_monitor, implement INTEL_performance_query functions. v2: Whitespace changes. Signed-off-by: Petri Latvala --- src/mesa/main/performance_monitor.c | 472 1 file changed, 431 insertions(+), 41 deletions

Re: [Mesa-dev] [PATCH 5/6] mesa: Implement INTEL_performance_query.

2014-03-12 Thread Ian Romanick
On 03/12/2014 05:54 AM, Petri Latvala wrote: > Using the existing driver hooks made for AMD_performance_monitor, implement > INTEL_performance_query functions. > > Signed-off-by: Petri Latvala > --- > src/mesa/main/performance_monitor.c | 476 > +--- > 1 file cha

[Mesa-dev] [PATCH 5/6] mesa: Implement INTEL_performance_query.

2014-03-12 Thread Petri Latvala
Using the existing driver hooks made for AMD_performance_monitor, implement INTEL_performance_query functions. Signed-off-by: Petri Latvala --- src/mesa/main/performance_monitor.c | 476 +--- 1 file changed, 439 insertions(+), 37 deletions(-) diff --git a/src/mes