OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35cfa1
)
radv: don't resubmit the same cs over and over while tracing
author
Grazvydas Ignotas
<notasas@gmail.com>
Mon, 23 Jan 2017 21:16:42 +0000
(23:16 +0200)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Tue, 24 Jan 2017 02:26:52 +0000
(
02:26
+0000)
Fixes:
97dfff54
("radv: Dump command buffer on hang.")
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
CC: <mesa-stable@lists.freedesktop.org>
(cherry picked from commit
f65b3641c3233f1697b96ea8126b578dae6de4f1
)
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index
9371536
..
4aa6af2
100644
(file)
--- 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,