Lines Matching refs:i915_sw_fence
20 struct i915_sw_fence;
27 typedef int (*i915_sw_fence_notify_t)(struct i915_sw_fence *,
30 struct i915_sw_fence { struct
42 void __i915_sw_fence_init(struct i915_sw_fence *fence, argument
62 void i915_sw_fence_reinit(struct i915_sw_fence *fence);
65 void i915_sw_fence_fini(struct i915_sw_fence *fence);
67 static inline void i915_sw_fence_fini(struct i915_sw_fence *fence) {} in i915_sw_fence_fini()
70 void i915_sw_fence_commit(struct i915_sw_fence *fence);
72 int i915_sw_fence_await_sw_fence(struct i915_sw_fence *fence,
73 struct i915_sw_fence *after,
75 int i915_sw_fence_await_sw_fence_gfp(struct i915_sw_fence *fence,
76 struct i915_sw_fence *after,
81 struct i915_sw_fence *fence;
84 int __i915_sw_fence_await_dma_fence(struct i915_sw_fence *fence,
87 int i915_sw_fence_await_dma_fence(struct i915_sw_fence *fence,
92 int i915_sw_fence_await_reservation(struct i915_sw_fence *fence,
98 bool i915_sw_fence_await(struct i915_sw_fence *fence);
99 void i915_sw_fence_complete(struct i915_sw_fence *fence);
101 static inline bool i915_sw_fence_signaled(const struct i915_sw_fence *fence) in i915_sw_fence_signaled()
106 static inline bool i915_sw_fence_done(const struct i915_sw_fence *fence) in i915_sw_fence_done()
111 static inline void i915_sw_fence_wait(struct i915_sw_fence *fence) in i915_sw_fence_wait()
117 i915_sw_fence_set_error_once(struct i915_sw_fence *fence, int error) in i915_sw_fence_set_error_once()