[Mesa-dev] [PATCH] radv: don't resubmit the same cs over and over while tracing
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Mon Jan 23 21:31:15 UTC 2017
Pushed, thanks.
On Mon, Jan 23, 2017 at 10:16 PM, Grazvydas Ignotas <notasas at gmail.com> wrote:
> Fixes: 97dfff54 ("radv: Dump command buffer on hang.")
> Signed-off-by: Grazvydas Ignotas <notasas at gmail.com>
> ---
> no commit access
>
> src/amd/vulkan/radv_device.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index d27a66c..337c733 100644
> --- a/src/amd/vulkan/radv_device.c
> +++ b/src/amd/vulkan/radv_device.c
> @@ -1004,8 +1004,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,
> --
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list