freedreno: a2xx: add perfcntrs

Graphics / Mesa 3D Graphics Library / Mesa - Jonathan Marek [marek.ca] - 28 January 2019 23:21 EST

Based on a5xx perfcntrs implementation.

7d458c0c69a freedreno: a2xx: add perfcntrs
src/gallium/drivers/freedreno/Makefile.sources | 3 +
src/gallium/drivers/freedreno/a2xx/fd2_context.c | 3 +
src/gallium/drivers/freedreno/a2xx/fd2_emit.c | 9 +
src/gallium/drivers/freedreno/a2xx/fd2_perfcntr.c | 813 ++++++++++++++++++++++
src/gallium/drivers/freedreno/a2xx/fd2_query.c | 244 +++++++
src/gallium/drivers/freedreno/a2xx/fd2_query.h | 35 +
src/gallium/drivers/freedreno/a2xx/fd2_screen.c | 8 +
src/gallium/drivers/freedreno/meson.build | 3 +
8 files changed, 1118 insertions(+)

Upstream: cgit.freedesktop.org


  • Share