nv50,nvc0: stop limiting the number of active queries to 1
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Oct 2016 22:08:30 +0000 (00:08 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 2 Nov 2016 22:42:09 +0000 (23:42 +0100)
commit548b5fee6b4a71d1b7b52b2268ef809a2cb90149
treeeb527d57c0372d565ee13134437621a3968b433d
parentb6137f226c593a31f85a7551594ce161799992af
nv50,nvc0: stop limiting the number of active queries to 1

This limitation was initially here because AMD_performance_monitor
doesn't allow to expose the real number of hardware counters. But
this actually really annoying when profiling with qapitrace.

Anyways, performance counters are mostly for developers and
failures are expected if you try to monitor more queries than
supported.

This breaks amd_performance_monitor_measure but it's expected.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/nouveau/nv50/nv50_query.c
src/gallium/drivers/nouveau/nvc0/nvc0_query.c