Searched refs:rfence (Results 1 – 3 of 3) sorted by relevance
113 struct si_multi_fence *rfence = (struct si_multi_fence *)fence; in si_fence_server_sync() local115 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() local193 if (!util_queue_fence_is_signalled(&rfence->ready)) { in si_fence_finish()[all …]
142 struct amdgpu_fence *rfence = (struct amdgpu_fence*)fence; in amdgpu_fence_submitted() local144 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() local153 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() local166 if (rfence->signalled) in amdgpu_fence_wait()170 if (amdgpu_fence_is_syncobj(rfence)) { in amdgpu_fence_wait()[all …]
363 struct r600_multi_fence *rfence = (struct r600_multi_fence *)fence; in r600_fence_server_sync() local379 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() local1183 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 …]