nvc0: rework the driver metrics infrastructure
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 9 Mar 2016 22:24:39 +0000 (23:24 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 10 Mar 2016 17:20:29 +0000 (18:20 +0100)
commita0ce8536b32cf35d6d967021e19d6a91dec73ade
tree7d30d89a6a10c817749fb8e96b941a417add6efc
parent41fb87249aba2810a8ab5313402af5927ddb0377
nvc0: rework the driver metrics infrastructure

This follows the same design as MP perf counters.

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