Home
last modified time | relevance | path

Searched refs:rfence (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_fence.c113 struct si_multi_fence *rfence = (struct si_multi_fence *)fence; in si_fence_server_sync() local
115 util_queue_fence_wait(&rfence->ready); in si_fence_server_sync()
118 if (rfence->gfx_unflushed.ctx && in si_fence_server_sync()
119 rfence->gfx_unflushed.ctx == rctx) in si_fence_server_sync()
127 if (rfence->sdma) in si_fence_server_sync()
128 si_add_fence_dependency(rctx, rfence->sdma); in si_fence_server_sync()
129 if (rfence->gfx) in si_fence_server_sync()
130 si_add_fence_dependency(rctx, rfence->gfx); in si_fence_server_sync()
190 struct si_multi_fence *rfence = (struct si_multi_fence *)fence; in si_fence_finish() local
193 if (!util_queue_fence_is_signalled(&rfence->ready)) { in si_fence_finish()
[all …]
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c142 struct amdgpu_fence *rfence = (struct amdgpu_fence*)fence; in amdgpu_fence_submitted() local
144 rfence->fence.fence = seq_no; in amdgpu_fence_submitted()
145 rfence->user_fence_cpu_address = user_fence_cpu_address; in amdgpu_fence_submitted()
146 util_queue_fence_signal(&rfence->submitted); in amdgpu_fence_submitted()
151 struct amdgpu_fence *rfence = (struct amdgpu_fence*)fence; in amdgpu_fence_signalled() local
153 rfence->signalled = true; in amdgpu_fence_signalled()
154 util_queue_fence_signal(&rfence->submitted); in amdgpu_fence_signalled()
160 struct amdgpu_fence *rfence = (struct amdgpu_fence*)fence; in amdgpu_fence_wait() local
166 if (rfence->signalled) in amdgpu_fence_wait()
170 if (amdgpu_fence_is_syncobj(rfence)) { in amdgpu_fence_wait()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c363 struct r600_multi_fence *rfence = (struct r600_multi_fence *)fence; in r600_fence_server_sync() local
379 if (rfence->gfx_unflushed.ctx) in r600_fence_server_sync()
387 if (rfence->sdma) in r600_fence_server_sync()
388 r600_add_fence_dependency(rctx, rfence->sdma); in r600_fence_server_sync()
389 if (rfence->gfx) in r600_fence_server_sync()
390 r600_add_fence_dependency(rctx, rfence->gfx); in r600_fence_server_sync()
1176 struct r600_multi_fence *rfence = (struct r600_multi_fence *)fence; in r600_fence_finish() local
1183 if (rfence->sdma) { in r600_fence_finish()
1184 if (!rws->fence_wait(rws, rfence->sdma, timeout)) in r600_fence_finish()
1194 if (!rfence->gfx) in r600_fence_finish()
[all …]