radv: fix selecting the first active CU when profiling with SQTT

Fixes: d26bcc0f5c ("radv: always select the first active CU when profiling with SQTT")
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/12167>
(cherry picked from commit ebea075feb)
This commit is contained in:
Samuel Pitoiset 2021-08-02 14:27:11 +02:00 committed by Eric Engestrom
parent c1df4a94fc
commit 80355ce533
2 changed files with 1 additions and 3 deletions

View file

@ -427,7 +427,7 @@
"description": "radv: fix selecting the first active CU when profiling with SQTT",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "d26bcc0f5cba8e578ba0e1f052e76abf61919ea8"
},

View file

@ -625,8 +625,6 @@ radv_get_thread_trace(struct radv_queue *queue, struct ac_thread_trace *thread_t
? (first_active_cu / 2)
: first_active_cu;
thread_trace_se.compute_unit = 0;
thread_trace->traces[thread_trace->num_traces] = thread_trace_se;
thread_trace->num_traces++;
}