Module: Mesa Branch: main Commit: 891e6f009b20c37fd3dcddf4f9cda7b9b8ae1e16 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=891e6f009b20c37fd3dcddf4f9cda7b9b8ae1e16
Author: Samuel Pitoiset <[email protected]> Date: Mon Nov 8 16:38:03 2021 +0100 radv/sqtt: stop calling radv_cs_add_buffer() for the thread trace BO It's resident, so global. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13717> --- src/amd/vulkan/radv_sqtt.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c index a1579fa298f..7acd904baaa 100644 --- a/src/amd/vulkan/radv_sqtt.c +++ b/src/amd/vulkan/radv_sqtt.c @@ -534,8 +534,6 @@ radv_begin_thread_trace(struct radv_queue *queue) break; } - radv_cs_add_buffer(ws, cs, device->thread_trace.bo); - /* Make sure to wait-for-idle before starting SQTT. */ radv_emit_wait_for_idle(device, cs, family); @@ -590,8 +588,6 @@ radv_end_thread_trace(struct radv_queue *queue) break; } - radv_cs_add_buffer(ws, cs, device->thread_trace.bo); - /* Make sure to wait-for-idle before stopping SQTT. */ radv_emit_wait_for_idle(device, cs, family);
