/src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
i915_gem_context_types.h | 82 struct intel_timeline *timeline; member in struct:i915_gem_context
|
i915_gem_context.c | 242 GEM_BUG_ON(ce->timeline); 243 if (ctx->timeline) 244 ce->timeline = intel_timeline_get(ctx->timeline); 321 if (ctx->timeline) 322 intel_timeline_put(ctx->timeline); 448 if (!ce->timeline) 451 mutex_lock(&ce->timeline->mutex); 452 list_for_each_entry_reverse(rq, &ce->timeline->requests, link) { 461 mutex_unlock(&ce->timeline->mutex) 752 struct intel_timeline *timeline; local in function:i915_gem_create_context [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
intel_context_types.h | 58 struct intel_timeline *timeline; member in struct:intel_context 73 unsigned int active_count; /* protected by timeline->mutex */
|
intel_timeline.c | 56 hwsp_alloc(struct intel_timeline *timeline, unsigned int *cacheline) 58 struct intel_gt_timelines *gt = &timeline->gt->timelines; 77 vma = __hwsp_alloc(timeline->gt); 84 hwsp->gt = timeline->gt; 209 int intel_timeline_init(struct intel_timeline *timeline, 215 kref_init(&timeline->kref); 216 atomic_set(&timeline->pin_count, 0); 218 timeline->gt = gt; 220 timeline->has_initial_breadcrumb = !hwsp; 221 timeline->hwsp_cacheline = NULL 297 struct intel_timeline *timeline; local in function:intel_timeline_create 564 struct intel_timeline *timeline = local in function:__intel_timeline_free [all...] |
intel_engine_cs.c | 623 struct intel_timeline timeline; member in struct:measure_breadcrumb 639 if (intel_timeline_init(&frame->timeline, 644 mutex_lock(&frame->timeline.mutex); 654 rcu_assign_pointer(frame->rq.timeline, &frame->timeline); 656 dw = intel_timeline_pin(&frame->timeline); 666 intel_timeline_unpin(&frame->timeline); 669 mutex_unlock(&frame->timeline.mutex); 670 intel_timeline_fini(&frame->timeline); 723 lockdep_set_class(&ce->timeline->mutex, &kernel) [all...] |
intel_ring_submission.c | 1331 ce->timeline = intel_timeline_get(engine->legacy.timeline); 1817 intel_timeline_unpin(engine->legacy.timeline); 1818 intel_timeline_put(engine->legacy.timeline); 1859 * Using a global execution timeline; the previous final breadcrumb is 1963 struct intel_timeline *timeline; local in function:intel_ring_submission_setup 1987 timeline = intel_timeline_create(engine->gt, engine->status_page.vma); 1988 if (IS_ERR(timeline)) { 1989 err = PTR_ERR(timeline); 1992 GEM_BUG_ON(timeline->has_initial_breadcrumb) [all...] |
intel_engine_types.h | 336 struct intel_timeline *timeline; member in struct:intel_engine_cs::__anonee01bb2a0408
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_active.c | 40 u64 timeline; member in struct:active_node 142 if (a->timeline < b->timeline) 144 if (a->timeline > b->timeline) 159 if (a->timeline < *k) 161 if (a->timeline > *k) 279 * We track the most recently used timeline to skip a rbtree search 283 * current timeline. 286 if (node && node->timeline == idx [all...] |
i915_request.h | 175 struct intel_timeline __rcu *timeline; member in struct:i915_request 187 * We pin the timeline->mutex while constructing the request to 189 * The timeline->mutex must be held to ensure that only this caller 190 * can use the ring and manipulate the associated timeline during 233 * the HW status page (or our timeline's local equivalent). The full 234 * path would be rq->hw_context->ring->timeline->hwsp_seqno. 239 * If we need to access the timeline's seqno for this request in 243 * inside the timeline's HWSP vma, but it is only valid while this 244 * request has not completed and guarded by the timeline mutex. 285 /** timeline->request entry for this request * [all...] |
i915_request.c | 73 * The timeline struct (as part of the ppgtt underneath a context) 218 * Virtual engines complicate acquiring the engine timeline lock, 484 * to the engine timeline (__i915_request_submit()). The waiters 628 struct intel_timeline *tl = ce->timeline; 699 RCU_INIT_POINTER(rq->timeline, tl); 801 rcu_access_pointer(signal->timeline)); 808 &rcu_dereference(signal->timeline)->requests)) { 812 * Peek at the request before us in the timeline. That 815 * still part of the signaler's timeline. 885 * the timeline HWSP upon wrapping, so that everyone listenin 1227 struct intel_timeline *timeline = i915_request_timeline(rq); local in function:__i915_request_add_to_timeline [all...] |