Lines Matching refs:f2
443 * __dma_fence_is_later - return if f1 is chronologically later than f2
445 * @f2: the second fence's seqno from the same context
448 * Returns true if f1 is chronologically later than f2. Both fences must be
451 static inline bool __dma_fence_is_later(u64 f1, u64 f2,
459 return f1 > f2;
461 return (int)(lower_32_bits(f1) - lower_32_bits(f2)) > 0;
465 * dma_fence_is_later - return if f1 is chronologically later than f2
467 * @f2: the second fence from the same context
469 * Returns true if f1 is chronologically later than f2. Both fences must be
473 struct dma_fence *f2)
475 if (WARN_ON(f1->context != f2->context))
478 return __dma_fence_is_later(f1->seqno, f2->seqno, f1->ops);
484 * @f2: the second fence from the same context
491 struct dma_fence *f2)
493 if (WARN_ON(f1->context != f2->context))
501 if (dma_fence_is_later(f1, f2))
504 return dma_fence_is_signaled(f2) ? NULL : f2;