[PATCH 00/12] etnaviv: support performance monitor
Christian Gmeiner
christian.gmeiner at gmail.com
Sun Mar 25 20:29:55 UTC 2018
Starting with kernel 4.16 the etnaviv driver exports perfmon domains
and signals to userspace. This patch series adds support for those
queries to mesa and exposes them via amd_performance_monitor.
Passes all amd_performance_monitor piglits.
Christian Gmeiner (12):
etnaviv: add perfmon query implementation
etnaviv: support HI performance counters
etnaviv: support PE performance counters
etnaviv: support SH performance counters
etnaviv: support PA performance counters
etnaviv: support SE performance counters
etnaviv: support RA performance counters
etnaviv: support TX performance counters
etnaviv: support MC performance counters
etnaviv: assign group_ids to perfmon queries
etnaviv: add query_group_info for perfmon counters
etnaviv: expose perfmon query groups
configure.ac | 2 +-
meson.build | 2 +-
src/gallium/drivers/etnaviv/Makefile.sources | 2 +
src/gallium/drivers/etnaviv/etnaviv_query.c | 19 +-
src/gallium/drivers/etnaviv/etnaviv_query.h | 1 +
src/gallium/drivers/etnaviv/etnaviv_query_pm.c | 678 +++++++++++++++++++++++++
src/gallium/drivers/etnaviv/etnaviv_query_pm.h | 129 +++++
src/gallium/drivers/etnaviv/etnaviv_screen.c | 8 +
src/gallium/drivers/etnaviv/etnaviv_screen.h | 4 +
9 files changed, 839 insertions(+), 6 deletions(-)
create mode 100644 src/gallium/drivers/etnaviv/etnaviv_query_pm.c
create mode 100644 src/gallium/drivers/etnaviv/etnaviv_query_pm.h
--
2.14.3
More information about the etnaviv
mailing list