etnaviv: add permon support

Graphics / Mesa 3D Graphics Library / libdrm - Christian Gmeiner [gmail.com] - 15 December 2017 18:09 EST

Query all domains and their signals and provide it this information
via struct etna_perfmon and the corresponding api functions.

v2:- code style changes- etna_perfmon_create(..): add missing clean up in error case

305c1d11 etnaviv: add permon support
etnaviv/Makefile.sources | 1 +
etnaviv/etnaviv-symbol-check | 4 +
etnaviv/etnaviv_drmif.h | 11 +++
etnaviv/etnaviv_perfmon.c | 189 +++++++++++++++++++++++++++++++++++++++++++
etnaviv/etnaviv_priv.h | 21 +++++
5 files changed, 226 insertions(+)

Upstream: cgit.freedesktop.org


  • Share