Lines Matching refs:s_fence
68 struct drm_sched_fence *s_fence = to_drm_sched_fence(f); in amdgpu_sync_same_dev() local
70 if (s_fence) { in amdgpu_sync_same_dev()
73 ring = container_of(s_fence->sched, struct amdgpu_ring, sched); in amdgpu_sync_same_dev()
89 struct drm_sched_fence *s_fence; in amdgpu_sync_get_owner() local
95 s_fence = to_drm_sched_fence(f); in amdgpu_sync_get_owner()
96 if (s_fence) in amdgpu_sync_get_owner()
97 return s_fence->owner; in amdgpu_sync_get_owner()
319 struct drm_sched_fence *s_fence = to_drm_sched_fence(f); in amdgpu_sync_peek_fence() local
325 if (ring && s_fence) { in amdgpu_sync_peek_fence()
329 if (s_fence->sched == &ring->sched) { in amdgpu_sync_peek_fence()
330 if (dma_fence_is_signaled(&s_fence->scheduled)) in amdgpu_sync_peek_fence()
333 return &s_fence->scheduled; in amdgpu_sync_peek_fence()