etnaviv: move generic perfmon functionality into own file

Graphics / Mesa 3D Graphics Library / Mesa - Christian Gmeiner [gmail.com] - 5 April 2020 18:01 UTC

This change removes the basic infrastructure to work with perfmon from the perfmon query impl and puts it into its own place. Makes the whole series easier to review and ends smaller changes.

20e0ef88ed9 etnaviv: move generic perfmon functionality into own file
src/gallium/drivers/etnaviv/Makefile.sources | 2 +
src/gallium/drivers/etnaviv/etnaviv_perfmon.c | 503 +++++++++++++++++++++++++
src/gallium/drivers/etnaviv/etnaviv_perfmon.h | 142 +++++++
src/gallium/drivers/etnaviv/etnaviv_query_pm.c | 501 ------------------------
src/gallium/drivers/etnaviv/etnaviv_query_pm.h | 78 +---
src/gallium/drivers/etnaviv/meson.build | 2 +
6 files changed, 650 insertions(+), 578 deletions(-)

Upstream: cgit.freedesktop.org


  • Share