Mesa (main): ac: import performance counters from RadeonSI
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jun 3 07:35:24 UTC 2021
Module: Mesa
Branch: main
Commit: 380ac288911d65cca402fd51d524f47658c13b63
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=380ac288911d65cca402fd51d524f47658c13b63
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
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 <samuel.pitoiset at gmail.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
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
More information about the mesa-commit
mailing list