/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_ringbuffer.c | 36 struct fd_submit *submit = pipe->funcs->submit_new(pipe); in fd_submit_new() local 37 submit->refcnt = 1; in fd_submit_new() 38 submit->pipe = fd_pipe_ref(pipe); in fd_submit_new() 39 return submit; in fd_submit_new() 43 fd_submit_del(struct fd_submit *submit) in fd_submit_del() argument 45 if (!p_atomic_dec_zero(&submit->refcnt)) in fd_submit_del() 48 if (submit->primary) in fd_submit_del() 49 fd_ringbuffer_del(submit->primary); in fd_submit_del() 51 fd_pipe_del(submit->pipe); in fd_submit_del() 53 submit->funcs->destroy(submit); in fd_submit_del() [all …]
|
D | msm_ringbuffer_sp.c | 113 struct fd_submit *submit; member 129 msm_submit_append_bo(struct msm_submit_sp *submit, struct fd_bo *bo) in msm_submit_append_bo() argument 140 if (unlikely((idx >= submit->nr_bos) || (submit->bos[idx] != bo))) { in msm_submit_append_bo() 144 entry = _mesa_hash_table_search_pre_hashed(submit->bo_table, hash, bo); in msm_submit_append_bo() 149 idx = APPEND(submit, bos, fd_bo_ref(bo)); in msm_submit_append_bo() 151 _mesa_hash_table_insert_pre_hashed(submit->bo_table, hash, bo, in msm_submit_append_bo() 161 msm_submit_suballoc_ring_bo(struct fd_submit *submit, in msm_submit_suballoc_ring_bo() argument 164 struct msm_submit_sp *msm_submit = to_msm_submit_sp(submit); in msm_submit_suballoc_ring_bo() 185 msm_ring->ring_bo = fd_bo_new_ring(submit->pipe->dev, SUBALLOC_SIZE); in msm_submit_suballoc_ring_bo() 201 msm_submit_sp_new_ringbuffer(struct fd_submit *submit, uint32_t size, in msm_submit_sp_new_ringbuffer() argument [all …]
|
D | msm_ringbuffer.c | 111 struct fd_submit *submit; member 128 append_bo(struct msm_submit *submit, struct fd_bo *bo) in append_bo() argument 139 if (unlikely((idx >= submit->nr_submit_bos) || in append_bo() 140 (submit->submit_bos[idx].handle != bo->handle))) { in append_bo() 144 entry = _mesa_hash_table_search_pre_hashed(submit->bo_table, hash, bo); in append_bo() 150 submit, submit_bos, in append_bo() 156 APPEND(submit, bos, fd_bo_ref(bo)); in append_bo() 158 _mesa_hash_table_insert_pre_hashed(submit->bo_table, hash, bo, in append_bo() 179 msm_submit_suballoc_ring_bo(struct fd_submit *submit, in msm_submit_suballoc_ring_bo() argument 182 struct msm_submit *msm_submit = to_msm_submit(submit); in msm_submit_suballoc_ring_bo() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_queue.c | 88 struct anv_queue_submit *submit) in anv_queue_submit_free() argument 90 const VkAllocationCallbacks *alloc = submit->alloc; in anv_queue_submit_free() 92 for (uint32_t i = 0; i < submit->temporary_semaphore_count; i++) in anv_queue_submit_free() 93 anv_semaphore_impl_cleanup(device, &submit->temporary_semaphores[i]); in anv_queue_submit_free() 95 if (submit->in_fence != -1) { in anv_queue_submit_free() 97 close(submit->in_fence); in anv_queue_submit_free() 99 if (submit->out_fence != -1) { in anv_queue_submit_free() 101 close(submit->out_fence); in anv_queue_submit_free() 103 vk_free(alloc, submit->fences); in anv_queue_submit_free() 104 vk_free(alloc, submit->fence_values); in anv_queue_submit_free() [all …]
|
/third_party/mesa3d/src/broadcom/drm-shim/ |
D | v3dx.c | 132 struct drm_v3d_submit_cl *submit = arg; in v3dX() local 133 uint32_t *bo_handles = (uint32_t *)(uintptr_t)submit->bo_handles; in v3dX() 135 for (int i = 0; i < submit->bo_handle_count; i++) in v3dX() 140 if (submit->qma) { in v3dX() 141 V3D_WRITE(V3D_CLE_0_CT0QMA, submit->qma); in v3dX() 142 V3D_WRITE(V3D_CLE_0_CT0QMS, submit->qms); in v3dX() 145 if (submit->qts) { in v3dX() 148 submit->qts); in v3dX() 152 fprintf(stderr, "submit %x..%x!\n", submit->bcl_start, submit->bcl_end); in v3dX() 154 V3D_WRITE(V3D_CLE_0_CT0QBA, submit->bcl_start); in v3dX() [all …]
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_queue.c | 94 vn_queue_submission_count_batch_semaphores(struct vn_queue_submission *submit, in vn_queue_submission_count_batch_semaphores() argument 103 switch (submit->batch_type) { in vn_queue_submission_count_batch_semaphores() 105 u.submit_batch = &submit->submit_batches[batch_index]; in vn_queue_submission_count_batch_semaphores() 110 u.bind_sparse_batch = &submit->bind_sparse_batches[batch_index]; in vn_queue_submission_count_batch_semaphores() 119 submit->wait_semaphore_count += wait_count; in vn_queue_submission_count_batch_semaphores() 125 submit->wait_wsi_count++; in vn_queue_submission_count_batch_semaphores() 130 vn_queue_submission_count_semaphores(struct vn_queue_submission *submit) in vn_queue_submission_count_semaphores() argument 132 submit->wait_semaphore_count = 0; in vn_queue_submission_count_semaphores() 133 submit->wait_wsi_count = 0; in vn_queue_submission_count_semaphores() 135 for (uint32_t i = 0; i < submit->batch_count; i++) in vn_queue_submission_count_semaphores() [all …]
|
D | vn_instance.h | 126 struct vn_instance_submit_command *submit, in vn_instance_submit_command_init() argument 131 submit->buffer = VN_CS_ENCODER_BUFFER_INITIALIZER(cmd_data); in vn_instance_submit_command_init() 132 submit->command = VN_CS_ENCODER_INITIALIZER(&submit->buffer, cmd_size); in vn_instance_submit_command_init() 134 submit->reply_size = reply_size; in vn_instance_submit_command_init() 135 submit->reply_shmem = NULL; in vn_instance_submit_command_init() 137 return &submit->command; in vn_instance_submit_command_init() 142 struct vn_instance_submit_command *submit); 146 struct vn_instance_submit_command *submit) in vn_instance_get_command_reply() argument 148 return submit->reply_shmem ? &submit->reply : NULL; in vn_instance_get_command_reply() 153 struct vn_instance_submit_command *submit) in vn_instance_free_command_reply() argument [all …]
|
D | vn_instance.c | 339 struct vn_ring_submit *submit; member 349 vn_instance_submission_get_cs(struct vn_instance_submission *submit, in vn_instance_submission_get_cs() argument 379 void *exec_data = submit->indirect.data; in vn_instance_submission_get_cs() 380 if (exec_size > sizeof(submit->indirect.data)) { in vn_instance_submission_get_cs() 389 submit->indirect.buffer = VN_CS_ENCODER_BUFFER_INITIALIZER(exec_data); in vn_instance_submission_get_cs() 390 submit->indirect.cs = in vn_instance_submission_get_cs() 391 VN_CS_ENCODER_INITIALIZER(&submit->indirect.buffer, exec_size); in vn_instance_submission_get_cs() 392 vn_encode_vkExecuteCommandStreamsMESA(&submit->indirect.cs, 0, desc_count, in vn_instance_submission_get_cs() 394 vn_cs_encoder_commit(&submit->indirect.cs); in vn_instance_submission_get_cs() 399 return &submit->indirect.cs; in vn_instance_submission_get_cs() [all …]
|
D | vn_ring.c | 76 list_for_each_entry_safe(struct vn_ring_submit, submit, &ring->submits, in vn_ring_retire_submits() 78 if (!vn_ring_ge_seqno(ring, seqno, submit->seqno)) in vn_ring_retire_submits() 81 for (uint32_t i = 0; i < submit->shmem_count; i++) in vn_ring_retire_submits() 82 vn_renderer_shmem_unref(ring->renderer, submit->shmems[i]); in vn_ring_retire_submits() 84 list_del(&submit->head); in vn_ring_retire_submits() 85 list_add(&submit->head, &ring->free_submits); in vn_ring_retire_submits() 180 list_for_each_entry_safe(struct vn_ring_submit, submit, in vn_ring_fini() 182 free(submit); in vn_ring_fini() 189 struct vn_ring_submit *submit; in vn_ring_get_submit() local 194 submit = in vn_ring_get_submit() [all …]
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_event.h | 341 …onst VkAllocationCallbacks* pAllocator, VkEvent* pEvent, struct vn_instance_submit_command *submit) in vn_submit_vkCreateEvent() argument 353 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkCreateEvent() 356 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkCreateEvent() 362 … VkEvent event, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) in vn_submit_vkDestroyEvent() argument 374 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkDestroyEvent() 377 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkDestroyEvent() 383 …mmandFlagsEXT cmd_flags, VkDevice device, VkEvent event, struct vn_instance_submit_command *submit) in vn_submit_vkGetEventStatus() argument 395 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkGetEventStatus() 398 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkGetEventStatus() 404 …mmandFlagsEXT cmd_flags, VkDevice device, VkEvent event, struct vn_instance_submit_command *submit) in vn_submit_vkSetEvent() argument [all …]
|
D | vn_protocol_driver_command_buffer.h | 5080 …teInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers, struct vn_instance_submit_command *submit) in vn_submit_vkAllocateCommandBuffers() argument 5092 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkAllocateCommandBuffers() 5095 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkAllocateCommandBuffers() 5101 …mandBufferCount, const VkCommandBuffer* pCommandBuffers, struct vn_instance_submit_command *submit) in vn_submit_vkFreeCommandBuffers() argument 5113 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkFreeCommandBuffers() 5116 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkFreeCommandBuffers() 5122 …mmandBuffer, const VkCommandBufferBeginInfo* pBeginInfo, struct vn_instance_submit_command *submit) in vn_submit_vkBeginCommandBuffer() argument 5134 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkBeginCommandBuffer() 5137 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkBeginCommandBuffer() 5143 …ommandFlagsEXT cmd_flags, VkCommandBuffer commandBuffer, struct vn_instance_submit_command *submit) in vn_submit_vkEndCommandBuffer() argument [all …]
|
D | vn_protocol_driver_transport.h | 906 …md_flags, const VkCommandStreamDescriptionMESA* pStream, struct vn_instance_submit_command *submit) in vn_submit_vkSetReplyCommandStreamMESA() argument 918 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkSetReplyCommandStreamMESA() 921 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkSetReplyCommandStreamMESA() 927 …_instance, VkCommandFlagsEXT cmd_flags, size_t position, struct vn_instance_submit_command *submit) in vn_submit_vkSeekReplyCommandStreamMESA() argument 939 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkSeekReplyCommandStreamMESA() 942 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkSeekReplyCommandStreamMESA() 948 … pDependencies, VkCommandStreamExecutionFlagsMESA flags, struct vn_instance_submit_command *submit) in vn_submit_vkExecuteCommandStreamsMESA() argument 960 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkExecuteCommandStreamsMESA() 963 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkExecuteCommandStreamsMESA() 969 … uint64_t ring, const VkRingCreateInfoMESA* pCreateInfo, struct vn_instance_submit_command *submit) in vn_submit_vkCreateRingMESA() argument [all …]
|
D | vn_protocol_driver_command_pool.h | 295 …ationCallbacks* pAllocator, VkCommandPool* pCommandPool, struct vn_instance_submit_command *submit) in vn_submit_vkCreateCommandPool() argument 307 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkCreateCommandPool() 310 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkCreateCommandPool() 316 …ol commandPool, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) in vn_submit_vkDestroyCommandPool() argument 328 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkDestroyCommandPool() 331 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkDestroyCommandPool() 337 …kCommandPool commandPool, VkCommandPoolResetFlags flags, struct vn_instance_submit_command *submit) in vn_submit_vkResetCommandPool() argument 349 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkResetCommandPool() 352 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkResetCommandPool() 358 …VkCommandPool commandPool, VkCommandPoolTrimFlags flags, struct vn_instance_submit_command *submit) in vn_submit_vkTrimCommandPool() argument [all …]
|
D | vn_protocol_driver_fence.h | 467 …onst VkAllocationCallbacks* pAllocator, VkFence* pFence, struct vn_instance_submit_command *submit) in vn_submit_vkCreateFence() argument 479 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkCreateFence() 482 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkCreateFence() 488 … VkFence fence, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) in vn_submit_vkDestroyFence() argument 500 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkDestroyFence() 503 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkDestroyFence() 509 …ice device, uint32_t fenceCount, const VkFence* pFences, struct vn_instance_submit_command *submit) in vn_submit_vkResetFences() argument 521 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkResetFences() 524 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkResetFences() 530 …mmandFlagsEXT cmd_flags, VkDevice device, VkFence fence, struct vn_instance_submit_command *submit) in vn_submit_vkGetFenceStatus() argument [all …]
|
D | vn_protocol_driver_pipeline_cache.h | 353 …nCallbacks* pAllocator, VkPipelineCache* pPipelineCache, struct vn_instance_submit_command *submit) in vn_submit_vkCreatePipelineCache() argument 365 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkCreatePipelineCache() 368 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkCreatePipelineCache() 374 … pipelineCache, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) in vn_submit_vkDestroyPipelineCache() argument 386 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkDestroyPipelineCache() 389 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkDestroyPipelineCache() 395 …lineCache pipelineCache, size_t* pDataSize, void* pData, struct vn_instance_submit_command *submit) in vn_submit_vkGetPipelineCacheData() argument 407 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkGetPipelineCacheData() 410 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkGetPipelineCacheData() 416 …nt32_t srcCacheCount, const VkPipelineCache* pSrcCaches, struct vn_instance_submit_command *submit) in vn_submit_vkMergePipelineCaches() argument [all …]
|
D | vn_protocol_driver_query_pool.h | 334 …llocationCallbacks* pAllocator, VkQueryPool* pQueryPool, struct vn_instance_submit_command *submit) in vn_submit_vkCreateQueryPool() argument 346 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkCreateQueryPool() 349 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkCreateQueryPool() 355 …Pool queryPool, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) in vn_submit_vkDestroyQueryPool() argument 367 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkDestroyQueryPool() 370 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkDestroyQueryPool() 376 …d* pData, VkDeviceSize stride, VkQueryResultFlags flags, struct vn_instance_submit_command *submit) in vn_submit_vkGetQueryPoolResults() argument 388 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkGetQueryPoolResults() 391 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkGetQueryPoolResults() 397 …ool queryPool, uint32_t firstQuery, uint32_t queryCount, struct vn_instance_submit_command *submit) in vn_submit_vkResetQueryPool() argument [all …]
|
D | vn_protocol_driver_descriptor_pool.h | 281 …allbacks* pAllocator, VkDescriptorPool* pDescriptorPool, struct vn_instance_submit_command *submit) in vn_submit_vkCreateDescriptorPool() argument 293 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkCreateDescriptorPool() 296 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkCreateDescriptorPool() 302 …descriptorPool, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) in vn_submit_vkDestroyDescriptorPool() argument 314 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkDestroyDescriptorPool() 317 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkDestroyDescriptorPool() 323 …orPool descriptorPool, VkDescriptorPoolResetFlags flags, struct vn_instance_submit_command *submit) in vn_submit_vkResetDescriptorPool() argument 335 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkResetDescriptorPool() 338 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkResetDescriptorPool() 348 struct vn_instance_submit_command submit; in vn_call_vkCreateDescriptorPool() local [all …]
|
D | vn_protocol_driver_buffer.h | 1079 …uffer buffer, VkMemoryRequirements* pMemoryRequirements, struct vn_instance_submit_command *submit) in vn_submit_vkGetBufferMemoryRequirements() argument 1091 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkGetBufferMemoryRequirements() 1094 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkGetBufferMemoryRequirements() 1100 …uffer, VkDeviceMemory memory, VkDeviceSize memoryOffset, struct vn_instance_submit_command *submit) in vn_submit_vkBindBufferMemory() argument 1112 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkBindBufferMemory() 1115 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkBindBufferMemory() 1121 …st VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer, struct vn_instance_submit_command *submit) in vn_submit_vkCreateBuffer() argument 1133 …struct vn_cs_encoder *enc = vn_instance_submit_command_init(vn_instance, submit, cmd_data, cmd_siz… in vn_submit_vkCreateBuffer() 1136 vn_instance_submit_command(vn_instance, submit); in vn_submit_vkCreateBuffer() 1142 …kBuffer buffer, const VkAllocationCallbacks* pAllocator, struct vn_instance_submit_command *submit) in vn_submit_vkDestroyBuffer() argument [all …]
|
/third_party/boost/libs/thread/example/ |
D | thread_pool.cpp | 39 tp.submit(&p1); in submit_some() 40 tp.submit(&p2); in submit_some() 41 tp.submit(&p1); in submit_some() 42 tp.submit(&p2); in submit_some() 43 tp.submit(&p1); in submit_some() 44 tp.submit(&p2); in submit_some() 45 tp.submit(&p1); in submit_some() 46 tp.submit(&p2); in submit_some() 47 tp.submit(&p1); in submit_some() 48 tp.submit(&p2); in submit_some()
|
D | user_scheduler.cpp | 37 tp.submit(&p1); in submit_some() 38 tp.submit(&p2); in submit_some() 39 tp.submit(&p1); in submit_some() 40 tp.submit(&p2); in submit_some() 41 tp.submit(&p1); in submit_some() 42 tp.submit(&p2); in submit_some() 43 tp.submit(&p1); in submit_some() 44 tp.submit(&p2); in submit_some() 45 tp.submit(&p1); in submit_some() 46 tp.submit(&p2); in submit_some()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_job.c | 400 struct drm_vc4_submit_cl submit = { in vc4_job_submit() local 414 vc4_submit_setup_rcl_surface(job, &submit.color_read, in vc4_job_submit() 419 &submit.color_write, in vc4_job_submit() 422 &submit.msaa_color_write, in vc4_job_submit() 427 vc4_submit_setup_rcl_surface(job, &submit.zs_read, in vc4_job_submit() 430 vc4_submit_setup_rcl_surface(job, &submit.zs_write, in vc4_job_submit() 432 vc4_submit_setup_rcl_msaa_surface(job, &submit.msaa_zs_write, in vc4_job_submit() 441 submit.color_write.bits |= VC4_RENDER_CONFIG_MS_MODE_4X; in vc4_job_submit() 445 submit.color_write.bits |= VC4_RENDER_CONFIG_DECIMATE_MODE_4X; in vc4_job_submit() 448 submit.bo_handles = (uintptr_t)job->bo_handles.base; in vc4_job_submit() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_drm.c | 786 tu_queue_submit_add_timeline_wait_locked(struct tu_queue_submit* submit, in tu_queue_submit_add_timeline_wait_locked() argument 791 if (submit->wait_timeline_count >= submit->wait_timeline_array_length) { in tu_queue_submit_add_timeline_wait_locked() 792 uint32_t new_len = MAX2(submit->wait_timeline_array_length * 2, 64); in tu_queue_submit_add_timeline_wait_locked() 794 submit->wait_timelines = vk_realloc(&device->vk.alloc, in tu_queue_submit_add_timeline_wait_locked() 795 submit->wait_timelines, in tu_queue_submit_add_timeline_wait_locked() 796 new_len * sizeof(*submit->wait_timelines), in tu_queue_submit_add_timeline_wait_locked() 799 if (submit->wait_timelines == NULL) in tu_queue_submit_add_timeline_wait_locked() 802 submit->wait_timeline_values = vk_realloc(&device->vk.alloc, in tu_queue_submit_add_timeline_wait_locked() 803 submit->wait_timeline_values, in tu_queue_submit_add_timeline_wait_locked() 804 new_len * sizeof(*submit->wait_timeline_values), in tu_queue_submit_add_timeline_wait_locked() [all …]
|
/third_party/boost/boost/thread/executors/ |
D | generic_executor_ref.hpp | 72 void submit(BOOST_THREAD_RV_REF(work) closure) { in submit() function in boost::executors::executor_ref 73 ex.submit(boost::move(closure)); in submit() 141 void submit(BOOST_THREAD_RV_REF(work) closure) in submit() function in boost::executors::generic_executor_ref 143 ex->submit(boost::move(closure)); in submit() 148 void submit(Closure & closure) in submit() function in boost::executors::generic_executor_ref 152 submit(work(closure)); in submit() 155 void submit(void (*closure)()) in submit() function in boost::executors::generic_executor_ref 158 submit(boost::move(w)); in submit() 163 void submit(BOOST_THREAD_FWD_REF(Closure) closure) in submit() function in boost::executors::generic_executor_ref 166 submit(boost::move(w)); in submit()
|
/third_party/mesa3d/src/etnaviv/drm/ |
D | etnaviv_cmd_stream.c | 134 free(priv->submit.relocs); in etna_cmd_stream_del() 135 free(priv->submit.pmrs); in etna_cmd_stream_del() 159 idx = APPEND(&priv->submit, bos); in append_bo() 162 priv->submit.bos[idx].flags = 0; in append_bo() 163 priv->submit.bos[idx].handle = bo->handle; in append_bo() 164 priv->submit.bos[idx].presumed = bo->va; in append_bo() 203 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_READ; in bo2idx() 205 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_WRITE; in bo2idx() 220 .bos = VOID2U64(priv->submit.bos), in etna_cmd_stream_flush() 221 .nr_bos = priv->submit.nr_bos, in etna_cmd_stream_flush() [all …]
|
/third_party/libdrm/etnaviv/ |
D | etnaviv_cmd_stream.c | 104 free(priv->submit.relocs); in etna_cmd_stream_del() 105 free(priv->submit.pmrs); in etna_cmd_stream_del() 114 priv->submit.nr_bos = 0; in reset_buffer() 115 priv->submit.nr_relocs = 0; in reset_buffer() 116 priv->submit.nr_pmrs = 0; in reset_buffer() 133 idx = APPEND(&priv->submit, bos); in append_bo() 136 priv->submit.bos[idx].flags = 0; in append_bo() 137 priv->submit.bos[idx].handle = bo->handle; in append_bo() 170 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_READ; in bo2idx() 172 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_WRITE; in bo2idx() [all …]
|