Home
last modified time | relevance | path

Searched refs:submit (Results 1 – 25 of 1304) sorted by relevance

12345678910>>...53

/external/igt-gpu-tools/tests/
Dpanfrost_submit.c60 static void check_error(int fd, struct panfrost_submit *submit) in check_error() argument
64 header = submit->submit_bo->map; in check_error()
95 struct panfrost_submit *submit; variable
97 submit = igt_panfrost_trivial_job(fd, false, WIDTH, HEIGHT,
100 igt_panfrost_bo_mmap(fd, submit->fbo);
101 do_ioctl(fd, DRM_IOCTL_PANFROST_SUBMIT, submit->args);
102 igt_assert(syncobj_wait(fd, &submit->args->out_sync, 1,
104 check_error(fd, submit);
105 check_fb(fd, submit->fbo);
106 igt_panfrost_free_job(fd, submit);
[all …]
/external/igt-gpu-tools/lib/
Digt_panfrost.c132 struct panfrost_submit *submit; in igt_panfrost_trivial_job() local
197 submit = malloc(sizeof(*submit)); in igt_panfrost_trivial_job()
199 submit->fbo = igt_panfrost_gem_new(fd, ALIGN(width, 16) * height * 4); in igt_panfrost_trivial_job()
200 rts.framebuffer = submit->fbo->offset; in igt_panfrost_trivial_job()
201 sfbd_framebuffer.framebuffer = submit->fbo->offset; in igt_panfrost_trivial_job()
203 submit->tiler_heap_bo = igt_panfrost_gem_new(fd, 32768 * 128); in igt_panfrost_trivial_job()
204 mfbd_framebuffer.tiler_heap_start = submit->tiler_heap_bo->offset; in igt_panfrost_trivial_job()
205 mfbd_framebuffer.tiler_heap_end = submit->tiler_heap_bo->offset + 32768 * 128; in igt_panfrost_trivial_job()
209 submit->tiler_scratch_bo = igt_panfrost_gem_new(fd, 128 * 128 * 128); in igt_panfrost_trivial_job()
210 mfbd_framebuffer.tiler_scratch_start = submit->tiler_scratch_bo->offset; in igt_panfrost_trivial_job()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_queue.c89 struct anv_queue_submit *submit) in anv_queue_submit_free() argument
91 const VkAllocationCallbacks *alloc = submit->alloc; in anv_queue_submit_free()
93 for (uint32_t i = 0; i < submit->temporary_semaphore_count; i++) in anv_queue_submit_free()
94 anv_semaphore_impl_cleanup(device, &submit->temporary_semaphores[i]); in anv_queue_submit_free()
95 for (uint32_t i = 0; i < submit->sync_fd_semaphore_count; i++) in anv_queue_submit_free()
96 anv_semaphore_unref(device, submit->sync_fd_semaphores[i]); in anv_queue_submit_free()
98 if (submit->in_fence != -1) { in anv_queue_submit_free()
100 close(submit->in_fence); in anv_queue_submit_free()
102 if (submit->out_fence != -1) { in anv_queue_submit_free()
104 close(submit->out_fence); in anv_queue_submit_free()
[all …]
/external/mesa3d/src/broadcom/drm-shim/
Dv3dx.c132 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 …]
/external/mesa3d/src/freedreno/drm/
Dmsm_ringbuffer_sp.c93 struct fd_submit *submit; member
109 msm_submit_append_bo(struct msm_submit_sp *submit, struct fd_bo *bo) in msm_submit_append_bo() argument
120 if (unlikely((idx >= submit->nr_submit_bos) || in msm_submit_append_bo()
121 (submit->submit_bos[idx].handle != bo->handle))) { in msm_submit_append_bo()
125 entry = _mesa_hash_table_search_pre_hashed(submit->bo_table, hash, bo); in msm_submit_append_bo()
130 idx = APPEND(submit, submit_bos); in msm_submit_append_bo()
131 idx = APPEND(submit, bos); in msm_submit_append_bo()
133 submit->submit_bos[idx].flags = bo->flags; in msm_submit_append_bo()
134 submit->submit_bos[idx].handle = bo->handle; in msm_submit_append_bo()
135 submit->submit_bos[idx].presumed = 0; in msm_submit_append_bo()
[all …]
Dmsm_ringbuffer.c115 struct fd_submit *submit; member
132 append_bo(struct msm_submit *submit, struct fd_bo *bo) in append_bo() argument
143 if (unlikely((idx >= submit->nr_submit_bos) || in append_bo()
144 (submit->submit_bos[idx].handle != bo->handle))) { in append_bo()
148 entry = _mesa_hash_table_search_pre_hashed(submit->bo_table, hash, bo); in append_bo()
153 idx = APPEND(submit, submit_bos); in append_bo()
154 idx = APPEND(submit, bos); in append_bo()
156 submit->submit_bos[idx].flags = bo->flags & in append_bo()
158 submit->submit_bos[idx].handle = bo->handle; in append_bo()
159 submit->submit_bos[idx].presumed = 0; in append_bo()
[all …]
Dfreedreno_ringbuffer.c40 fd_submit_del(struct fd_submit *submit) in fd_submit_del() argument
42 return submit->funcs->destroy(submit); in fd_submit_del()
46 fd_submit_flush(struct fd_submit *submit, int in_fence_fd, int *out_fence_fd, in fd_submit_flush() argument
49 return submit->funcs->flush(submit, in_fence_fd, out_fence_fd, out_fence); in fd_submit_flush()
53 fd_submit_new_ringbuffer(struct fd_submit *submit, uint32_t size, in fd_submit_new_ringbuffer() argument
61 return submit->funcs->new_ringbuffer(submit, size, flags); in fd_submit_new_ringbuffer()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_job.c400 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 …]
/external/mesa3d/src/etnaviv/drm/
Detnaviv_cmd_stream.c134 free(priv->submit.relocs); in etna_cmd_stream_del()
135 free(priv->submit.pmrs); in etna_cmd_stream_del()
157 idx = APPEND(&priv->submit, bos); in append_bo()
160 priv->submit.bos[idx].flags = 0; in append_bo()
161 priv->submit.bos[idx].handle = bo->handle; in append_bo()
162 priv->submit.bos[idx].presumed = bo->va; in append_bo()
201 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_READ; in bo2idx()
203 priv->submit.bos[idx].flags |= ETNA_SUBMIT_BO_WRITE; in bo2idx()
218 .bos = VOID2U64(priv->submit.bos), in etna_cmd_stream_flush()
219 .nr_bos = priv->submit.nr_bos, in etna_cmd_stream_flush()
[all …]
/external/libdrm/etnaviv/
Detnaviv_cmd_stream.c104 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 …]
/external/skia/tests/
DGrFinishedFlushTest.cpp51 dContext->submit(true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
60 dContext->submit(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
68 dContext->submit(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
85 dContext->submit(true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
91 dContext->submit(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 dContext->submit(true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
106 dContext->submit(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
115 dContext->submit(true); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
120 dContext->submit(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
128 dContext->submit(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c68 } submit; member
206 idx = APPEND(&msm_ring->submit, bos); in append_bo()
209 msm_ring->submit.bos[idx].flags = 0; in append_bo()
210 msm_ring->submit.bos[idx].handle = bo->handle; in append_bo()
211 msm_ring->submit.bos[idx].presumed = to_msm_bo(bo)->presumed; in append_bo()
246 msm_ring->submit.bos[idx].flags |= MSM_SUBMIT_BO_READ; in bo2idx()
248 msm_ring->submit.bos[idx].flags |= MSM_SUBMIT_BO_WRITE; in bo2idx()
280 cmd = &msm_ring->submit.cmds[i]; in get_cmd()
285 assert(msm_ring->submit.bos[cmd->submit_idx].handle == in get_cmd()
292 i = APPEND(&msm_ring->submit, cmds); in get_cmd()
[all …]
/external/guava/android/guava/src/com/google/common/util/concurrent/
DForwardingListeningExecutorService.java41 public <T> ListenableFuture<T> submit(Callable<T> task) { in submit() method in ForwardingListeningExecutorService
42 return delegate().submit(task); in submit()
46 public ListenableFuture<?> submit(Runnable task) { in submit() method in ForwardingListeningExecutorService
47 return delegate().submit(task); in submit()
51 public <T> ListenableFuture<T> submit(Runnable task, T result) { in submit() method in ForwardingListeningExecutorService
52 return delegate().submit(task, result); in submit()
DAbstractListeningExecutorService.java55 public ListenableFuture<?> submit(Runnable task) { in submit() method in AbstractListeningExecutorService
56 return (ListenableFuture<?>) super.submit(task); in submit()
60 public <T> ListenableFuture<T> submit(Runnable task, @NullableDecl T result) { in submit() method in AbstractListeningExecutorService
61 return (ListenableFuture<T>) super.submit(task, result); in submit()
65 public <T> ListenableFuture<T> submit(Callable<T> task) { in submit() method in AbstractListeningExecutorService
66 return (ListenableFuture<T>) super.submit(task); in submit()
DForwardingExecutorService.java103 public <T> Future<T> submit(Callable<T> task) { in submit() method in ForwardingExecutorService
104 return delegate().submit(task); in submit()
108 public Future<?> submit(Runnable task) { in submit() method in ForwardingExecutorService
109 return delegate().submit(task); in submit()
113 public <T> Future<T> submit(Runnable task, T result) { in submit() method in ForwardingExecutorService
114 return delegate().submit(task, result); in submit()
/external/guava/guava/src/com/google/common/util/concurrent/
DForwardingListeningExecutorService.java41 public <T> ListenableFuture<T> submit(Callable<T> task) { in submit() method in ForwardingListeningExecutorService
42 return delegate().submit(task); in submit()
46 public ListenableFuture<?> submit(Runnable task) { in submit() method in ForwardingListeningExecutorService
47 return delegate().submit(task); in submit()
51 public <T> ListenableFuture<T> submit(Runnable task, T result) { in submit() method in ForwardingListeningExecutorService
52 return delegate().submit(task, result); in submit()
DAbstractListeningExecutorService.java55 public ListenableFuture<?> submit(Runnable task) { in submit() method in AbstractListeningExecutorService
56 return (ListenableFuture<?>) super.submit(task); in submit()
60 public <T> ListenableFuture<T> submit(Runnable task, @Nullable T result) { in submit() method in AbstractListeningExecutorService
61 return (ListenableFuture<T>) super.submit(task, result); in submit()
65 public <T> ListenableFuture<T> submit(Callable<T> task) { in submit() method in AbstractListeningExecutorService
66 return (ListenableFuture<T>) super.submit(task); in submit()
DForwardingExecutorService.java103 public <T> Future<T> submit(Callable<T> task) { in submit() method in ForwardingExecutorService
104 return delegate().submit(task); in submit()
108 public Future<?> submit(Runnable task) { in submit() method in ForwardingExecutorService
109 return delegate().submit(task); in submit()
113 public <T> Future<T> submit(Runnable task, T result) { in submit() method in ForwardingExecutorService
114 return delegate().submit(task, result); in submit()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DExecutionSequencerTest.java93 ListenableFuture<Void> unused = serializer.submit(blockingCallable, executor); in testCancellationMultipleThreads()
95 serializer.submit( in testCancellationMultipleThreads()
120 ListenableFuture<Void> future1 = serializer.submit(blockingCallable, executor); in testSecondTaskWaitsForFirstEvenIfCancelled()
122 serializer.submit( in testSecondTaskWaitsForFirstEvenIfCancelled()
166 serializer.submit(toStringCallable(toBeGCed), directExecutor()).cancel(true); in testCancellationWithReferencedObject()
194 results.add(serializer.submit(Callables.returning(null), manualExecutor));
197 serializer.submit(
206 thingToCancel[0] = serializer.submit(Callables.returning(null), directExecutor());
210 results.add(serializer.submit(Callables.returning(null), directExecutor()));
238 results.add(serializer.submit(Callables.<Void>returning(null), directExecutor()));
[all …]
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionSequencerTest.java93 ListenableFuture<Void> unused = serializer.submit(blockingCallable, executor); in testCancellationMultipleThreads()
95 serializer.submit( in testCancellationMultipleThreads()
120 ListenableFuture<Void> future1 = serializer.submit(blockingCallable, executor); in testSecondTaskWaitsForFirstEvenIfCancelled()
122 serializer.submit( in testSecondTaskWaitsForFirstEvenIfCancelled()
166 serializer.submit(toStringCallable(toBeGCed), directExecutor()).cancel(true); in testCancellationWithReferencedObject()
194 results.add(serializer.submit(Callables.returning(null), manualExecutor));
197 serializer.submit(
206 thingToCancel[0] = serializer.submit(Callables.returning(null), directExecutor());
210 results.add(serializer.submit(Callables.returning(null), directExecutor()));
238 results.add(serializer.submit(Callables.<Void>returning(null), directExecutor()));
[all …]
/external/python/cpython3/Lib/test/
Dtest_concurrent_futures.py147 futures = [self.executor.submit(time.sleep, 0.1)
213 futures = [self.executor.submit(get_init_status)
241 future = self.executor.submit(get_init_status)
256 self.executor.submit(get_init_status)
287 self.executor.submit,
341 fs = [self.executor.submit(time.sleep, 0.1) for _ in range(50)]
348 fs = [executor.submit(time.sleep, .1) for _ in range(50)]
400 self.executor.submit(acquire_lock, sem)
496 self.executor.submit(acquire_lock, sem)
566 future1 = self.executor.submit(mul, 21, 2)
[all …]
/external/python/futures/
Dtest_futures.py158 futures = [self.executor.submit(time.sleep, 0.1)
177 self.executor.submit,
195 fs = [self.executor.submit(time.sleep, 0.1) for _ in range(50)]
206 self.executor.submit(mul, 21, 2)
207 self.executor.submit(mul, 6, 7)
208 self.executor.submit(mul, 3, 14)
264 self.executor.submit(mul, 21, 2)
265 self.executor.submit(mul, 6, 7)
266 self.executor.submit(mul, 3, 14)
299 future1 = self.executor.submit(mul, 21, 2)
[all …]
/external/mesa3d/src/broadcom/simulator/
Dv3dx_simulator.c313 struct drm_v3d_submit_cl *submit, in v3dX()
321 if (submit->qma) { in v3dX()
322 V3D_WRITE(V3D_CLE_0_CT0QMA, submit->qma); in v3dX()
323 V3D_WRITE(V3D_CLE_0_CT0QMS, submit->qms); in v3dX()
326 if (submit->qts) { in v3dX()
329 submit->qts); in v3dX()
332 V3D_WRITE(V3D_CLE_0_CT0QBA, submit->bcl_start); in v3dX()
333 V3D_WRITE(V3D_CLE_0_CT0QEA, submit->bcl_end); in v3dX()
346 V3D_WRITE(V3D_CLE_0_CT1QBA, submit->rcl_start); in v3dX()
347 V3D_WRITE(V3D_CLE_0_CT1QEA, submit->rcl_end); in v3dX()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_job.c123 uint32_t *bo_handles = (void *)(uintptr_t)job->submit.bo_handles; in v3d_job_add_bo()
125 if (job->submit.bo_handle_count >= job->bo_handles_size) { in v3d_job_add_bo()
129 job->submit.bo_handles = (uintptr_t)(void *)bo_handles; in v3d_job_add_bo()
131 bo_handles[job->submit.bo_handle_count++] = bo->handle; in v3d_job_add_bo()
465 clif_dump(clif, &job->submit); in v3d_clif_dump()
515 job->submit.in_sync_rcl = v3d->out_sync; in v3d_job_submit()
518 job->submit.out_sync = v3d->out_sync; in v3d_job_submit()
520 job->submit.bcl_end = job->bcl.bo->offset + cl_offset(&job->bcl); in v3d_job_submit()
521 job->submit.rcl_end = job->rcl.bo->offset + cl_offset(&job->rcl); in v3d_job_submit()
523 job->submit.flags = 0; in v3d_job_submit()
[all …]
/external/mesa3d/src/broadcom/clif/
Dclif_dump.c380 clif_dump(struct clif_dump *clif, const struct drm_v3d_submit_cl *submit) in clif_dump() argument
382 clif_dump_add_cl(clif, submit->bcl_start, submit->bcl_end); in clif_dump()
383 clif_dump_add_cl(clif, submit->rcl_start, submit->rcl_end); in clif_dump()
406 out_address(clif, submit->bcl_start); in clif_dump()
408 out_address(clif, submit->bcl_end); in clif_dump()
410 out_address(clif, submit->qma); in clif_dump()
411 out(clif, "\n %d\n ", submit->qms); in clif_dump()
412 out_address(clif, submit->qts); in clif_dump()
417 out_address(clif, submit->rcl_start); in clif_dump()
419 out_address(clif, submit->rcl_end); in clif_dump()
[all …]

12345678910>>...53