freedreno/perfcntrs: add fdperf
authorRob Clark <robdclark@chromium.org>
Tue, 19 Nov 2019 22:53:49 +0000 (14:53 -0800)
committerRob Clark <robdclark@gmail.com>
Thu, 21 Nov 2019 20:01:03 +0000 (20:01 +0000)
commit5a13507164a26fc796f02c57a24468b834254b4d
tree1e6ad2d542b7c9cec90be5402a22119671ad4ea9
parentb2338a5b00cad0080b6003e1a4aabac0ce3220cf
freedreno/perfcntrs: add fdperf

Port from the envytools tree, but converted to use the .c tables for
describing the perfcounter groups/countables, rather than using rnndec
to get this at runtime from the register xml.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/perfcntrs/fdperf.c [new file with mode: 0644]
src/freedreno/perfcntrs/meson.build