Mesa (main): radv: fix selecting the first active CU when profiling with SQTT

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 3 12:58:50 UTC 2021


Module: Mesa
Branch: main
Commit: ebea075feb820fb4e2118690da8258aa830ba3a3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebea075feb820fb4e2118690da8258aa830ba3a3

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Mon Aug  2 14:27:11 2021 +0200

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

Fixes: d26bcc0f5cb ("radv: always select the first active CU when profiling with SQTT")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12167>

---

 src/amd/vulkan/radv_sqtt.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c
index c23ca4ba7c3..bd874cb9d21 100644
--- a/src/amd/vulkan/radv_sqtt.c
+++ b/src/amd/vulkan/radv_sqtt.c
@@ -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++;
    }



More information about the mesa-commit mailing list