diff options
author | Grazvydas Ignotas <[email protected]> | 2017-01-23 23:16:42 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-01-23 22:27:05 +0100 |
commit | f65b3641c3233f1697b96ea8126b578dae6de4f1 (patch) | |
tree | 4533659925e21ebe0cf47fc390eca872c65c358b /src | |
parent | aa2ace8e4975419e723f78d624087637c57ef2fa (diff) |
radv: don't resubmit the same cs over and over while tracing
Fixes: 97dfff54 ("radv: Dump command buffer on hang.")
Signed-off-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
CC: <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 9371536aa61..4aa6af2bbda 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -989,8 +989,7 @@ VkResult radv_QueueSubmit( if (queue->device->trace_bo) *queue->device->trace_id_ptr = 0; - ret = queue->device->ws->cs_submit(ctx, queue->queue_idx, cs_array, - pSubmits[i].commandBufferCount, + ret = queue->device->ws->cs_submit(ctx, queue->queue_idx, cs_array + j, advance, (struct radeon_winsys_sem **)pSubmits[i].pWaitSemaphores, b ? pSubmits[i].waitSemaphoreCount : 0, (struct radeon_winsys_sem **)pSubmits[i].pSignalSemaphores, |