radv: add initial SQ Thread Trace support for GFX9
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 18 Feb 2020 07:32:33 +0000 (08:32 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Feb 2020 07:10:55 +0000 (08:10 +0100)
commit768d4f0551e38bd688e3e551d5276ceff5d2316b
treed7712a5f7722a5ea99e4ec7072c150931616975f
parent94099ee64296c60fdd5c3b237eedea0ff6651ea4
radv: add initial SQ Thread Trace support for GFX9

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!

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3900>
src/amd/vulkan/Makefile.sources
src/amd/vulkan/meson.build
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_sqtt.c [new file with mode: 0644]