radeonsi/gfx10: implement most performance counters
authorMarek Olšák <marek.olsak@amd.com>
Fri, 22 May 2020 12:30:31 +0000 (08:30 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 26 May 2020 10:00:54 +0000 (06:00 -0400)
commit38a4b861459b02401d3ff71670218506e7acf019
tree38ae916081a4dda5b1bafc311d989d22920734f8
parent2a3806ffa352a37ab03fca46a596bba99fcb11ca
radeonsi/gfx10: implement most performance counters

PAL has all of them.

GE perf counters don't work - no idea why.
I only tested the few that I like to use.

There is no documentation, though most of the enums had already been
in the headers.

Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5184>
src/gallium/drivers/radeonsi/si_perfcounter.c