Home
last modified time | relevance | path

Searched refs:cmd_buffers (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/intel/vulkan/
Danv_utrace.c31 struct anv_cmd_buffer **cmd_buffers, in command_buffers_count_utraces() argument
39 if (u_trace_has_points(&cmd_buffers[i]->trace)) { in command_buffers_count_utraces()
41 if (!(cmd_buffers[i]->usage_flags & VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT)) in command_buffers_count_utraces()
42 *utrace_copies += list_length(&cmd_buffers[i]->trace.trace_chunks); in command_buffers_count_utraces()
93 struct anv_cmd_buffer **cmd_buffers, in anv_device_utrace_flush_cmd_buffers() argument
100 cmd_buffers, in anv_device_utrace_flush_cmd_buffers()
150 if (cmd_buffers[i]->usage_flags & VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT) { in anv_device_utrace_flush_cmd_buffers()
151 u_trace_flush(&cmd_buffers[i]->trace, flush, false); in anv_device_utrace_flush_cmd_buffers()
153 u_trace_clone_append(u_trace_begin_iterator(&cmd_buffers[i]->trace), in anv_device_utrace_flush_cmd_buffers()
154 u_trace_end_iterator(&cmd_buffers[i]->trace), in anv_device_utrace_flush_cmd_buffers()
[all …]
Danv_batch_chain.c1730 chain_command_buffers(struct anv_cmd_buffer **cmd_buffers, in chain_command_buffers() argument
1733 if (!anv_cmd_buffer_is_chainable(cmd_buffers[0])) { in chain_command_buffers()
1740 anv_cmd_buffer_record_chain_submit(cmd_buffers[i], cmd_buffers[i + 1]); in chain_command_buffers()
1743 anv_cmd_buffer_record_end_submit(cmd_buffers[num_cmd_buffers - 1]); in chain_command_buffers()
1749 struct anv_cmd_buffer **cmd_buffers, in setup_execbuf_for_cmd_buffers() argument
1759 chain_command_buffers(cmd_buffers, num_cmd_buffers); in setup_execbuf_for_cmd_buffers()
1762 anv_measure_submit(cmd_buffers[i]); in setup_execbuf_for_cmd_buffers()
1763 result = setup_execbuf_for_cmd_buffer(execbuf, cmd_buffers[i]); in setup_execbuf_for_cmd_buffers()
1851 relocate_cmd_buffer(cmd_buffers[i], execbuf); in setup_execbuf_for_cmd_buffers()
1853 anv_reloc_list_apply(device, &cmd_buffers[i]->surface_relocs, in setup_execbuf_for_cmd_buffers()
[all …]
Danv_private.h4216 struct anv_cmd_buffer **cmd_buffers,
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_kgsl.c374 struct tu_cmd_buffer **cmd_buffers = old_cmd_buffers; in tu_QueueSubmit2() local
375 tu_insert_dynamic_cmdbufs(queue->device, &cmd_buffers, &cmdbuf_count); in tu_QueueSubmit2()
376 if (cmd_buffers == old_cmd_buffers) { in tu_QueueSubmit2()
377 cmd_buffers = in tu_QueueSubmit2()
379 sizeof(*cmd_buffers) * cmdbuf_count, 8, in tu_QueueSubmit2()
381 memcpy(cmd_buffers, old_cmd_buffers, in tu_QueueSubmit2()
382 sizeof(*cmd_buffers) * cmdbuf_count); in tu_QueueSubmit2()
384 submit_cmd_buffers[i] = cmd_buffers; in tu_QueueSubmit2()
389 entry_count += cmd_buffers[i]->cs.entry_count; in tu_QueueSubmit2()
394 if (tu_autotune_submit_requires_fence(cmd_buffers, cmdbuf_count)) in tu_QueueSubmit2()
[all …]
Dtu_autotune.h125 bool tu_autotune_submit_requires_fence(struct tu_cmd_buffer **cmd_buffers,
134 struct tu_cmd_buffer **cmd_buffers,
Dtu_drm.c39 struct tu_cmd_buffer **cmd_buffers; member
830 new_submit->cmd_buffers = (void *)vk_cmd_buffers; in tu_queue_submit_create_locked()
832 tu_insert_dynamic_cmdbufs(queue->device, &new_submit->cmd_buffers, in tu_queue_submit_create_locked()
837 struct tu_cmd_buffer *cmdbuf = new_submit->cmd_buffers[j]; in tu_queue_submit_create_locked()
853 tu_autotune_submit_requires_fence(new_submit->cmd_buffers, new_submit->nr_cmd_buffers); in tu_queue_submit_create_locked()
869 queue->device, new_submit->cmd_buffers, in tu_queue_submit_create_locked()
924 if (submit->cmd_buffers != (void *) submit->vk_submit->command_buffers) in tu_queue_submit_finish()
925 vk_free(&queue->device->vk.alloc, submit->cmd_buffers); in tu_queue_submit_finish()
953 struct tu_cmd_buffer *cmdbuf = submit->cmd_buffers[j]; in tu_queue_build_msm_gem_submit_cmds()
994 submit->cmd_buffers, in tu_queue_submit_locked()
Dtu_autotune.c291 struct tu_cmd_buffer **cmd_buffers, in tu_autotune_on_submit() argument
308 struct tu_cmd_buffer *cmdbuf = cmd_buffers[i]; in tu_autotune_on_submit()
342 struct tu_cmd_buffer *cmdbuf = cmd_buffers[i]; in tu_autotune_on_submit()
442 tu_autotune_submit_requires_fence(struct tu_cmd_buffer **cmd_buffers, in tu_autotune_submit_requires_fence() argument
446 struct tu_cmd_buffer *cmdbuf = cmd_buffers[i]; in tu_autotune_submit_requires_fence()
Dtu_device.h478 struct tu_cmd_buffer **cmd_buffers,
Dtu_cmd_buffer.h510 struct list_head cmd_buffers; member
Dtu_cmd_buffer.c1579 list_addtail(&cmd_buffer->pool_link, &pool->cmd_buffers); in tu_create_cmd_buffer()
1687 list_addtail(&cmd_buffer->pool_link, &pool->cmd_buffers); in tu_AllocateCommandBuffers()
3704 list_inithead(&pool->cmd_buffers); in tu_CreateCommandPool()
3724 &pool->cmd_buffers, pool_link) in tu_DestroyCommandPool()
3747 list_for_each_entry(struct tu_cmd_buffer, cmd_buffer, &pool->cmd_buffers, in tu_ResetCommandPool()
Dtu_device.c1691 struct tu_cmd_buffer **cmd_buffers, in tu_u_trace_submission_data_create() argument
1719 struct tu_cmd_buffer *cmdbuf = cmd_buffers[i]; in tu_u_trace_submission_data_create()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c52 list_addtail(&cmd_buffer->pool_link, &pool->cmd_buffers); in lvp_create_cmd_buffer()
89 list_addtail(&cmd_buffer->pool_link, &pool->cmd_buffers); in lvp_AllocateCommandBuffers()
202 list_inithead(&pool->cmd_buffers); in lvp_CreateCommandPool()
222 &pool->cmd_buffers, pool_link) { in lvp_DestroyCommandPool()
244 &pool->cmd_buffers, pool_link) { in lvp_ResetCommandPool()
Dlvp_private.h495 struct list_head cmd_buffers; member
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dvx_private.h80 const VkCommandBuffer *cmd_buffers);
Dv3dvx_cmd_buffer.c1631 const VkCommandBuffer *cmd_buffers) in v3dX()
1649 V3DV_FROM_HANDLE(v3dv_cmd_buffer, secondary, cmd_buffers[i]); in v3dX()
Dv3dv_cmd_buffer.c1668 const VkCommandBuffer *cmd_buffers) in cmd_buffer_execute_outside_pass() argument
1672 V3DV_FROM_HANDLE(v3dv_cmd_buffer, secondary, cmd_buffers[i]); in cmd_buffer_execute_outside_pass()
/third_party/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c462 list_addtail(&cmd_buffer->pool_link, &pool->cmd_buffers); in radv_create_cmd_buffer()
4848 list_addtail(&cmd_buffer->pool_link, &pool->cmd_buffers); in radv_AllocateCommandBuffers()
6315 list_inithead(&pool->cmd_buffers); in radv_CreateCommandPool()
6333 list_for_each_entry_safe(struct radv_cmd_buffer, cmd_buffer, &pool->cmd_buffers, pool_link) in radv_DestroyCommandPool()
6353 list_for_each_entry(struct radv_cmd_buffer, cmd_buffer, &pool->cmd_buffers, pool_link) in radv_ResetCommandPool()
Dradv_private.h1549 struct list_head cmd_buffers; member
Dradv_device.c4886 struct vk_command_buffer *const *cmd_buffers, uint32_t cmd_buffer_count, in radv_update_preambles() argument
4901 struct radv_cmd_buffer *cmd_buffer = container_of(cmd_buffers[j], struct radv_cmd_buffer, vk); in radv_update_preambles()
4985 VkCommandBuffer *cmd_buffers; member
/third_party/mesa3d/docs/relnotes/
D21.1.0.rst328 - v3dv: properly handle two different binding points for cmd_buffers