mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
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:
parent
5f7955ff74
commit
5a5f3fe561
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue