Home
last modified time | relevance | path

Searched refs:pfence (Results 1 – 18 of 18) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_fence.c79 struct pipe_fence_handle **pfence, int fd, in etna_create_fence_fd() argument
83 *pfence = etna_fence_create(pctx, os_dupfd_cloexec(fd)); in etna_create_fence_fd()
88 struct pipe_fence_handle *pfence) in etna_fence_server_sync() argument
92 if (pfence->fence_fd != -1) in etna_fence_server_sync()
93 sync_accumulate("etnaviv", &ctx->in_fence_fd, pfence->fence_fd); in etna_fence_server_sync()
98 struct pipe_fence_handle *pfence) in etna_screen_fence_get_fd() argument
100 return os_dupfd_cloexec(pfence->fence_fd); in etna_screen_fence_get_fd()
Detnaviv_fence.h35 struct pipe_fence_handle **pfence, int fd,
44 struct pipe_fence_handle *pfence);
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_fence.c54 vc4_fence(struct pipe_fence_handle *pfence) in vc4_fence() argument
56 return (struct vc4_fence *)pfence; in vc4_fence()
120 struct pipe_fence_handle *pfence) in vc4_fence_server_sync() argument
123 struct vc4_fence *fence = vc4_fence(pfence); in vc4_fence_server_sync()
130 vc4_fence_get_fd(struct pipe_screen *screen, struct pipe_fence_handle *pfence) in vc4_fence_get_fd() argument
132 struct vc4_fence *fence = vc4_fence(pfence); in vc4_fence_get_fd()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_fence.h35 struct pipe_fence_handle *pfence);
38 struct pipe_fence_handle *pfence,
41 struct pipe_fence_handle **pfence, int fd,
48 struct pipe_fence_handle *pfence);
Dfreedreno_fence.c78 struct pipe_fence_handle *pfence) in fd_fence_ref() argument
80 if (pipe_reference(&(*ptr)->reference, &pfence->reference)) in fd_fence_ref()
83 *ptr = pfence; in fd_fence_ref()
126 struct pipe_fence_handle **pfence, int fd, in fd_create_fence_fd() argument
133 *pfence = fence_create(fd_context(pctx), NULL, 0, os_dupfd_cloexec(fd), 0); in fd_create_fence_fd()
144 *pfence = fence_create(fd_context(pctx), NULL, 0, -1, syncobj); in fd_create_fence_fd()
Dfreedreno_screen.c830 struct pipe_fence_handle *pfence) in _fd_fence_ref() argument
832 fd_fence_ref(ptr, pfence); in _fd_fence_ref()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_fence.c97 struct pipe_fence_handle *pfence) in fence_reference() argument
100 zink_fence(pfence)); in fence_reference()
137 struct pipe_fence_handle *pfence, uint64_t timeout_ns) in fence_finish() argument
139 return zink_fence_finish(zink_screen(pscreen), zink_fence(pfence), in fence_finish()
Dzink_fence.h44 zink_fence(struct pipe_fence_handle *pfence) in zink_fence() argument
46 return (struct zink_fence *)pfence; in zink_fence()
Dzink_context.c995 struct pipe_fence_handle **pfence, in zink_flush() argument
1006 if (pfence) in zink_flush()
1008 (struct zink_fence **)pfence, in zink_flush()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_screen.c81 struct pipe_fence_handle *pfence) in nouveau_screen_fence_ref() argument
83 nouveau_fence_ref(nouveau_fence(pfence), (struct nouveau_fence **)ptr); in nouveau_screen_fence_ref()
89 struct pipe_fence_handle *pfence, in nouveau_screen_fence_finish() argument
93 return nouveau_fence_signalled(nouveau_fence(pfence)); in nouveau_screen_fence_finish()
95 return nouveau_fence_wait(nouveau_fence(pfence), NULL); in nouveau_screen_fence_finish()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_ioctl.c512 struct pipe_fence_handle **pfence, int32_t imported_fence_fd, in vmw_ioctl_command() argument
552 if (pfence) in vmw_ioctl_command()
585 if (pfence) in vmw_ioctl_command()
586 *pfence = NULL; in vmw_ioctl_command()
588 if (pfence) { in vmw_ioctl_command()
597 *pfence = vmw_fence_create(vws->fence_ops, rep.handle, in vmw_ioctl_command()
599 if (*pfence == NULL) { in vmw_ioctl_command()
Dvmw_context.c180 struct pipe_fence_handle **pfence) in vmw_swc_flush() argument
238 if (vswc->command.used || pfence != NULL) in vmw_swc_flush()
297 if(pfence) in vmw_swc_flush()
298 vmw_fence_reference(vswc->vws, pfence, fence); in vmw_swc_flush()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_context.c365 struct pipe_fence_handle **pfence) in svga_context_flush() argument
435 if (pfence) in svga_context_flush()
436 svgascreen->sws->fence_reference(svgascreen->sws, pfence, fence); in svga_context_flush()
Dsvga_winsys.h372 struct pipe_fence_handle **pfence);
Dsvga_context.h752 struct pipe_fence_handle **pfence );
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_fence.c374 static void si_create_fence_fd(struct pipe_context *ctx, struct pipe_fence_handle **pfence, int fd, in si_create_fence_fd() argument
381 *pfence = NULL; in si_create_fence_fd()
412 *pfence = (struct pipe_fence_handle *)sfence; in si_create_fence_fd()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c565 struct pipe_fence_handle **pfence) in radeon_drm_cs_flush() argument
605 if (pfence || cs->csc->num_slab_buffers) { in radeon_drm_cs_flush()
616 if (pfence) in radeon_drm_cs_flush()
617 radeon_fence_reference(pfence, fence); in radeon_drm_cs_flush()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c117 struct pipe_fence_handle *pfence) in amdgpu_fence_export_sync_file() argument
120 struct amdgpu_fence *fence = (struct amdgpu_fence*)pfence; in amdgpu_fence_export_sync_file()
1247 struct pipe_fence_handle *pfence, in amdgpu_cs_add_fence_dependency() argument
1252 struct amdgpu_fence *fence = (struct amdgpu_fence*)pfence; in amdgpu_cs_add_fence_dependency()