freedreno/perfcntrs: small cleanup
authorRob Clark <robdclark@chromium.org>
Tue, 19 Nov 2019 18:22:44 +0000 (10:22 -0800)
committerRob Clark <robdclark@gmail.com>
Thu, 21 Nov 2019 20:01:02 +0000 (20:01 +0000)
commit3fb6aaf42efe0b61070f39667a2021ee4b3041f7
treedd8625b12eb53e0af260984984b9b3c922c24ddb
parentcce07ea83523a8e6b0924fdc9a09050600a3e8bf
freedreno/perfcntrs: small cleanup

When we had one gen supporting performance counters, it made sense to
have these builder macros in the .c file with the table.  But time has
come to de-duplicate.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/drivers/freedreno/a2xx/fd2_perfcntr.c
src/gallium/drivers/freedreno/a5xx/fd5_perfcntr.c
src/gallium/drivers/freedreno/a6xx/fd6_perfcntr.c
src/gallium/drivers/freedreno/freedreno_perfcntr.h