Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c65 struct amdgpu_fence *rfence = (struct amdgpu_fence*)fence; in amdgpu_fence_submitted() local
67 rfence->fence.fence = request->seq_no; in amdgpu_fence_submitted()
68 rfence->user_fence_cpu_address = user_fence_cpu_address; in amdgpu_fence_submitted()
69 rfence->submission_in_progress = false; in amdgpu_fence_submitted()
74 struct amdgpu_fence *rfence = (struct amdgpu_fence*)fence; in amdgpu_fence_signalled() local
76 rfence->signalled = true; in amdgpu_fence_signalled()
77 rfence->submission_in_progress = false; in amdgpu_fence_signalled()
83 struct amdgpu_fence *rfence = (struct amdgpu_fence*)fence; in amdgpu_fence_wait() local
89 if (rfence->signalled) in amdgpu_fence_wait()
100 if (!os_wait_until_zero_abs_timeout(&rfence->submission_in_progress, in amdgpu_fence_wait()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_pipe_common.c1120 struct r600_multi_fence *rfence = (struct r600_multi_fence *)fence; in r600_fence_finish() local
1125 if (rfence->sdma) { in r600_fence_finish()
1126 if (!rws->fence_wait(rws, rfence->sdma, timeout)) in r600_fence_finish()
1136 if (!rfence->gfx) in r600_fence_finish()
1141 rfence->gfx_unflushed.ctx == rctx && in r600_fence_finish()
1142 rfence->gfx_unflushed.ib_index == rctx->num_gfx_cs_flushes) { in r600_fence_finish()
1144 rfence->gfx_unflushed.ctx = NULL; in r600_fence_finish()
1156 return rws->fence_wait(rws, rfence->gfx, timeout); in r600_fence_finish()