nvc0: implement MP performance counters
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 27 Mar 2013 22:39:06 +0000 (23:39 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 28 Mar 2013 23:33:01 +0000 (00:33 +0100)
commitee624ced364bfd2f896809874ef3a808a11c5ecf
tree3ca90f856159a2a932df731a64255096b2ece61c
parent480359bcf644c496c5318e89fe7ad60d95772acd
nvc0: implement MP performance counters

There's more, but this only adds (most) of the counters that are
handled directly by the shader processors.
The other counter domains are not handled on the multiprocessor and
there are no FIFO object methods for configuring them.
Instead, they have to be programmed by the kernel via PCOUNTER, and
the interface for this isn't in place yet.
src/gallium/drivers/nvc0/nvc0_context.h
src/gallium/drivers/nvc0/nvc0_program.c
src/gallium/drivers/nvc0/nvc0_query.c
src/gallium/drivers/nvc0/nvc0_screen.c
src/gallium/drivers/nvc0/nvc0_screen.h
src/gallium/drivers/nvc0/nvc0_winsys.h
src/gallium/drivers/nvc0/nve4_compute.c
src/gallium/drivers/nvc0/nve4_compute.xml.h