etnaviv: support performance monitor requests

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

Add etna_cmd_stream_perf(..) to submit perform requests. Userspace can submit pmrs via submit ioctl to sample perfmon signals.

v3:- mark perfmon bos as RW

6a6b7432 etnaviv: support performance monitor requests
etnaviv/etnaviv-symbol-check | 1 +
etnaviv/etnaviv_cmd_stream.c | 20 ++++++++++++++++++++
etnaviv/etnaviv_drmif.h | 12 ++++++++++++
etnaviv/etnaviv_priv.h | 4 ++++
4 files changed, 37 insertions(+)

Upstream: cgit.freedesktop.org


  • Share