nvc0: split out begin_query() hook used by MP counters
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 9 Oct 2015 08:45:04 +0000 (10:45 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 16 Oct 2015 19:57:44 +0000 (21:57 +0200)
commitdab7e0ed09073b0fd7c37d0fabd70f302acbce32
tree9de6cfc9c85810d2d10d0d37560561006b0499a2
parentd4ecc2bce458c28355f7ecdea72b619578a69fd5
nvc0: split out begin_query() hook used by MP counters

The way we configure MP performance counters is going to pretty
different between Fermi and Kepler. Having two separate functions
is much better.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_query_hw_sm.c