nv50: add support for performance metrics on G84+
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 11 Nov 2015 23:59:00 +0000 (00:59 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 14 Nov 2015 22:42:46 +0000 (23:42 +0100)
commit848fa3101d5077b1aecfb0886c69a7d0dd7f75bc
tree3757c9dfc48a02dc9de14240bcadbaca4d886ce4
parent6a9c151dbb87a10b6d51c451a5a277d646d08857
nv50: add support for performance metrics on G84+

Currently only one metric is exposed but more will be added later.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Pierre Moreau <pierre.morrow@free.fr>
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/Makefile.sources
src/gallium/drivers/nouveau/nv50/nv50_query_hw.c
src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.c [new file with mode: 0644]
src/gallium/drivers/nouveau/nv50/nv50_query_hw_metric.h [new file with mode: 0644]