Lines Matching refs:from

317 	 * request that we have removed from the HW and put back on a run
398 * that we received an ACK from the HW, and so the context is not
453 * __notify_execute_cb from i915_request_submit() and we are not
492 * As this request likely depends on state from the lost
528 * requests that we have unsubmitted from HW, but left running
534 * We must remove the request from the caller's priority queue,
593 * busywaits from the GPU until their master is restarted. This is
600 /* We may be recursing from the signal callback of another i915 fence */
612 /* Will be called from irq-context when using foreign fences. */
634 * Before we remove this breadcrumb from the signal list, we have
663 /* Will be called from irq-context when using foreign fences. */
759 /* Ratelimit ourselves to prevent oom from malicious clients */
801 * race with the request being allocated from the slab freelist.
1013 * than one semaphore from each source, and not using a semaphore
1025 struct i915_request *from,
1037 err = intel_timeline_read_hwsp(from, to, &hwsp_offset);
1076 struct i915_request *from,
1079 const intel_engine_mask_t mask = READ_ONCE(from->engine)->mask;
1088 if (!rcu_access_pointer(from->hwsp_cacheline))
1097 if (from->sched.flags & I915_SCHED_HAS_EXTERNAL_CHAIN)
1104 if (i915_request_await_start(to, from) < 0)
1108 if (__await_execution(to, from, NULL, gfp))
1111 if (__emit_semaphore_wait(to, from, from->fence.seqno))
1119 &from->fence, 0,
1139 struct i915_request *from,
1145 GEM_BUG_ON(intel_context_is_barrier(from->context));
1148 err = __await_execution(to, from, hook, I915_FENCE_GFP);
1154 &from->fence))
1167 err = i915_request_await_start(to, from);
1177 * delayed by waiting on a semaphore from a remote engine. If our
1192 err = __emit_semaphore_wait(to, from, from->fence.seqno - 1);
1200 &from->sched,
1207 &from->fence);
1306 await_request_submit(struct i915_request *to, struct i915_request *from)
1316 if (to->engine == READ_ONCE(from->engine))
1318 &from->submit,
1321 return __i915_request_await_execution(to, from, NULL);
1325 i915_request_await_request(struct i915_request *to, struct i915_request *from)
1329 GEM_BUG_ON(to == from);
1330 GEM_BUG_ON(to->timeline == from->timeline);
1332 if (i915_request_completed(from)) {
1333 i915_sw_fence_set_error_once(&to->submit, from->fence.error);
1339 &from->sched,
1345 if (is_power_of_2(to->execution_mask | READ_ONCE(from->execution_mask)))
1346 ret = await_request_submit(to, from);
1348 ret = emit_semaphore_wait(to, from, I915_FENCE_GFP);
1367 * amdgpu and we should not see any incoming fence-array from
1625 * Cheaply and approximately convert from nanoseconds to microseconds.
1628 * error here is from the simple truncation.
1759 * switching away from the active task. Frequently, the client will
1770 * impacts from a context switch such as cache eviction.