Searched refs:centity (Results 1 – 1 of 1) sorted by relevance
439 struct amdgpu_ctx_entity *centity = to_amdgpu_ctx_entity(entity); in amdgpu_ctx_add_fence() local440 uint64_t seq = centity->sequence; in amdgpu_ctx_add_fence()445 other = centity->fences[idx]; in amdgpu_ctx_add_fence()452 centity->fences[idx] = fence; in amdgpu_ctx_add_fence()453 centity->sequence++; in amdgpu_ctx_add_fence()465 struct amdgpu_ctx_entity *centity = to_amdgpu_ctx_entity(entity); in amdgpu_ctx_get_fence() local471 seq = centity->sequence - 1; in amdgpu_ctx_get_fence()473 if (seq >= centity->sequence) { in amdgpu_ctx_get_fence()479 if (seq + amdgpu_sched_jobs < centity->sequence) { in amdgpu_ctx_get_fence()484 fence = dma_fence_get(centity->fences[seq & (amdgpu_sched_jobs - 1)]); in amdgpu_ctx_get_fence()[all …]