ac/perfcounter: add new SQ_WGP block for GFX11+

According to PAL, these SQ counters can be sampled at WGP granularity.
Some SPM counters captured for RGP are using this GPU block.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25175>
This commit is contained in:
Samuel Pitoiset 2023-09-12 10:02:16 +02:00 committed by Marge Bot
parent 31e6c05527
commit 42d67183e7

View file

@ -88,6 +88,7 @@ enum ac_pc_gpu_block {
GEDIST = 0x2E,
GESE = 0x2F,
DF = 0x30,
SQ_WGP = 0x31, /* GFX11+ */
NUM_GPU_BLOCK,
};