Searched refs:rfence (Results 1 – 2 of 2) sorted by relevance
65 struct amdgpu_fence *rfence = (struct amdgpu_fence*)fence; in amdgpu_fence_submitted() local67 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() local76 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() local89 if (rfence->signalled) in amdgpu_fence_wait()100 if (!os_wait_until_zero_abs_timeout(&rfence->submission_in_progress, in amdgpu_fence_wait()[all …]
1120 struct r600_multi_fence *rfence = (struct r600_multi_fence *)fence; in r600_fence_finish() local1125 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()