Lines Matching refs:A
98 struct i915_sw_fence *A, *B, *C; in test_dag() local
105 A = alloc_fence(); in test_dag()
106 if (!A) in test_dag()
109 if (i915_sw_fence_await_sw_fence_gfp(A, A, GFP_KERNEL) != -EINVAL) { in test_dag()
120 i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_dag()
121 if (i915_sw_fence_await_sw_fence_gfp(B, A, GFP_KERNEL) != -EINVAL) { in test_dag()
140 if (i915_sw_fence_await_sw_fence_gfp(C, A, GFP_KERNEL) != -EINVAL) { in test_dag()
144 if (i915_sw_fence_await_sw_fence_gfp(A, C, GFP_KERNEL) == -EINVAL) { in test_dag()
149 i915_sw_fence_commit(A); in test_dag()
162 if (!i915_sw_fence_done(A)) { in test_dag()
171 free_fence(A); in test_dag()
177 struct i915_sw_fence *A, *B; in test_AB() local
181 A = alloc_fence(); in test_AB()
182 if (!A) in test_AB()
190 ret = i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_AB()
200 i915_sw_fence_commit(A); in test_AB()
201 if (i915_sw_fence_done(A)) in test_AB()
210 if (!i915_sw_fence_done(A)) { in test_AB()
219 free_fence(A); in test_AB()
225 struct i915_sw_fence *A, *B, *C; in test_ABC() local
229 A = alloc_fence(); in test_ABC()
230 if (!A) in test_ABC()
245 ret = i915_sw_fence_await_sw_fence_gfp(A, B, GFP_KERNEL); in test_ABC()
262 i915_sw_fence_commit(A); in test_ABC()
263 if (i915_sw_fence_done(A)) { in test_ABC()
274 if (i915_sw_fence_done(A)) { in test_ABC()
290 if (!i915_sw_fence_done(A)) { in test_ABC()
299 free_fence(A); in test_ABC()
305 struct i915_sw_fence *A, *B, *C; in test_AB_C() local
309 A = alloc_fence(); in test_AB_C()
310 if (!A) in test_AB_C()
325 ret = i915_sw_fence_await_sw_fence_gfp(A, C, GFP_KERNEL); in test_AB_C()
341 i915_sw_fence_commit(A); in test_AB_C()
345 if (i915_sw_fence_done(A)) { in test_AB_C()
366 if (!i915_sw_fence_done(A)) { in test_AB_C()
376 free_fence(A); in test_AB_C()
382 struct i915_sw_fence *A, *B, *C; in test_C_AB() local
386 A = alloc_fence(); in test_C_AB()
387 if (!A) in test_C_AB()
402 ret = i915_sw_fence_await_sw_fence_gfp(C, A, GFP_KERNEL); in test_C_AB()
423 i915_sw_fence_commit(A); in test_C_AB()
426 if (!i915_sw_fence_done(A)) { in test_C_AB()
446 free_fence(A); in test_C_AB()