ac/sqtt: bump the maximum number of traces to 6 for GFX11

GFX11 can have more than 4 SEs. I think it would be better to allocate
an array but that's for later.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20337>
This commit is contained in:
Samuel Pitoiset 2022-12-15 15:34:35 +01:00 committed by Marge Bot
parent 5f7955ff74
commit 5a5f3fe561

View file

@ -75,10 +75,12 @@ struct ac_thread_trace_se {
uint32_t compute_unit;
};
#define SQTT_MAX_TRACES 6
struct ac_thread_trace {
struct ac_thread_trace_data *data;
uint32_t num_traces;
struct ac_thread_trace_se traces[4];
struct ac_thread_trace_se traces[SQTT_MAX_TRACES];
};
uint64_t