etnaviv: move generic perfmon functionality into own file
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 19 Jul 2019 13:27:39 +0000 (15:27 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sun, 5 Apr 2020 18:01:43 +0000 (18:01 +0000)
commit20e0ef88ed9bebc8f34105e1c8bb725009bb7f98
tree1f2902f93f81278b98c9c9fc933735d62390a319
parentc111f79b1ce962a9ef138d0d5c894258961e83a5
etnaviv: move generic perfmon functionality into own file

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.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1530>
src/gallium/drivers/etnaviv/Makefile.sources
src/gallium/drivers/etnaviv/etnaviv_perfmon.c [new file with mode: 0644]
src/gallium/drivers/etnaviv/etnaviv_perfmon.h [new file with mode: 0644]
src/gallium/drivers/etnaviv/etnaviv_query_pm.c
src/gallium/drivers/etnaviv/etnaviv_query_pm.h
src/gallium/drivers/etnaviv/meson.build