Module: Mesa Branch: main Commit: 380ac288911d65cca402fd51d524f47658c13b63 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=380ac288911d65cca402fd51d524f47658c13b63
Author: Samuel Pitoiset <[email protected]> Date: Mon May 31 10:10:42 2021 +0200 ac: import performance counters from RadeonSI Performance counters will be used by RADV for VK_KHR_performance_query and also for adding SPM support. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11140> --- src/amd/Makefile.sources | 2 + src/amd/common/ac_perfcounter.c | 711 ++++++++++++++++++++ src/amd/common/ac_perfcounter.h | 201 ++++++ src/amd/common/meson.build | 2 + src/gallium/drivers/radeonsi/si_perfcounter.c | 917 ++------------------------ src/gallium/drivers/radeonsi/si_query.c | 4 +- src/gallium/drivers/radeonsi/si_query.h | 9 +- 7 files changed, 981 insertions(+), 865 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=380ac288911d65cca402fd51d524f47658c13b63 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
