This patch defines "Driver statistics" and "MP counters" groups, but only the latter will be exposed through GL_AMD_performance_monitor.
ed7d388 nvc0: define driver-specific query groups
src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 67 ++++++++++++++++++++++++
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1 +
src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 8 +++
3 files changed, 76 insertions(+)
Upstream: cgit.freedesktop.org