Lines Matching refs:f2
463 * __dma_fence_is_later - return if f1 is chronologically later than f2
465 * @f2: the second fence's seqno from the same context
468 * Returns true if f1 is chronologically later than f2. Both fences must be
471 static inline bool __dma_fence_is_later(u64 f1, u64 f2,
479 return f1 > f2;
481 return (int)(lower_32_bits(f1) - lower_32_bits(f2)) > 0;
485 * dma_fence_is_later - return if f1 is chronologically later than f2
487 * @f2: the second fence from the same context
489 * Returns true if f1 is chronologically later than f2. Both fences must be
493 struct dma_fence *f2)
495 if (WARN_ON(f1->context != f2->context))
498 return __dma_fence_is_later(f1->seqno, f2->seqno, f1->ops);
502 * dma_fence_is_later_or_same - return true if f1 is later or same as f2
504 * @f2: the second fence from the same context
506 * Returns true if f1 is chronologically later than f2 or the same fence. Both
511 struct dma_fence *f2)
513 return f1 == f2 || dma_fence_is_later(f1, f2);
519 * @f2: the second fence from the same context
526 struct dma_fence *f2)
528 if (WARN_ON(f1->context != f2->context))
536 if (dma_fence_is_later(f1, f2))
539 return dma_fence_is_signaled(f2) ? NULL : f2;