etnaviv: add perfmon query implementation

Graphics / Mesa 3D Graphics Library / Mesa - Christian Gmeiner [gmail.com] - 8 April 2018 20:20 EDT

Add needed infrastructure to use performance monitor requests for queries.

72d2043be0 etnaviv: add perfmon query implementation
configure.ac | 2 +-
meson.build | 2 +-
src/gallium/drivers/etnaviv/Makefile.sources | 2 +
src/gallium/drivers/etnaviv/etnaviv_query.c | 11 +-
src/gallium/drivers/etnaviv/etnaviv_query.h | 1 +
src/gallium/drivers/etnaviv/etnaviv_query_pm.c | 272 +++++++++++++++++++++++++
src/gallium/drivers/etnaviv/etnaviv_query_pm.h | 61 ++++++
src/gallium/drivers/etnaviv/etnaviv_screen.c | 8 +
src/gallium/drivers/etnaviv/etnaviv_screen.h | 4 +
9 files changed, 359 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share