Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c895 struct amdgpu_fence *bo_fence = (void *)bo->fences[j]; in amdgpu_add_fence_dependency() local
898 if (bo_fence->ctx == acs->ctx && in amdgpu_add_fence_dependency()
899 bo_fence->fence.ip_type == cs->request.ip_type && in amdgpu_add_fence_dependency()
900 bo_fence->fence.ip_instance == cs->request.ip_instance && in amdgpu_add_fence_dependency()
901 bo_fence->fence.ring == cs->request.ring) in amdgpu_add_fence_dependency()
904 if (amdgpu_fence_wait((void *)bo_fence, 0, false)) in amdgpu_add_fence_dependency()
913 if (bo_fence->submission_in_progress) in amdgpu_add_fence_dependency()
914 os_wait_until_zero(&bo_fence->submission_in_progress, in amdgpu_add_fence_dependency()
927 memcpy(dep, &bo_fence->fence, sizeof(*dep)); in amdgpu_add_fence_dependency()