freedreno: batch query support (perfcounters)

Graphics / Mesa 3D Graphics Library / Mesa - Rob Clark [gmail.com] - 18 July 2018 14:19 EDT

Core infrastructure for performance counters, using gallium's batch query interface (to support AMD_performance_monitor).

33af91dc07 freedreno: batch query support (perfcounters)
src/gallium/drivers/freedreno/Makefile.sources | 1 +
src/gallium/drivers/freedreno/freedreno_perfcntr.h | 72 ++++++++++++++++++++++
src/gallium/drivers/freedreno/freedreno_query.c | 69 ++++++++++++++++++++-
src/gallium/drivers/freedreno/freedreno_query.h | 4 ++
src/gallium/drivers/freedreno/freedreno_screen.c | 1 +
src/gallium/drivers/freedreno/freedreno_screen.h | 8 +++
src/gallium/drivers/freedreno/meson.build | 1 +
7 files changed, 153 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share