radv: add initial SQ Thread Trace support for GFX9

Graphics / Mesa 3D Graphics Library / Mesa - Samuel Pitoiset [gmail.com] - 28 February 2020 07:10 EST

SQTT is a hardware block that collects thread trace data (like wave occupancy, timings, etc) for every draw/dispatch calls.

It's only supported on GFX9 at the moment but I will add other generations support soon.

This is the first step towards profiling with RADV!

768d4f0551e radv: add initial SQ Thread Trace support for GFX9
src/amd/vulkan/Makefile.sources | 1 +
src/amd/vulkan/meson.build | 1 +
src/amd/vulkan/radv_private.h | 33 +++
src/amd/vulkan/radv_sqtt.c | 439 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 474 insertions(+)

Upstream: cgit.freedesktop.org


  • Share