Lines Matching refs:signal

31 #include <linux/sched/signal.h>
55 struct i915_request *signal;
439 static bool __request_in_flight(const struct i915_request *signal)
444 if (!i915_request_is_ready(signal))
481 * we are inflight and may signal the callback.
483 if (!intel_context_inflight(signal->context))
487 for (port = __engine_active(signal->engine);
490 if (rq->context == signal->context) {
492 signal->fence.seqno);
503 struct i915_request *signal,
508 if (i915_request_is_active(signal))
532 if (llist_add(&cb->work.node.llist, &signal->execute_cb)) {
533 if (i915_request_is_active(signal) ||
534 __request_in_flight(signal))
535 i915_request_notify_execute_cb_imm(signal);
691 /* We may be recursing from the signal callback of another i915 fence */
725 * Before we remove this breadcrumb from the signal list, we have
1060 i915_request_await_start(struct i915_request *rq, struct i915_request *signal)
1065 if (i915_request_timeline(rq) == rcu_access_pointer(signal->timeline))
1068 if (i915_request_started(signal))
1072 * The caller holds a reference on @signal, but we do not serialise
1075 * We do not hold a reference to the request before @signal, and
1082 struct list_head *pos = READ_ONCE(signal->link.prev);
1085 /* Confirm signal has not been retired, the link is valid */
1086 if (unlikely(__i915_request_has_started(signal)))
1089 /* Is signal the earliest request on its timeline? */
1090 if (pos == &rcu_dereference(signal->timeline)->requests)
1104 if (unlikely(READ_ONCE(prev->link.next) != &signal->link)) {
1296 * Ensure both start together [after all semaphores in signal]
1414 /* XXX Error for signal-on-any fence arrays */
1508 * Note that if the fence-array was created in signal-on-any mode,
1511 * in. Fortunately, the only user of signal-on-any is private to
1513 * sync-file being in signal-on-any mode.
1976 * May return -EINTR is called with I915_WAIT_INTERRUPTIBLE and a signal is
2114 * May return -EINTR is called with I915_WAIT_INTERRUPTIBLE and a signal is