Home | History | Annotate | Download | only in i915

Lines Matching defs:tl

299 	struct intel_timeline * const tl = i915_request_timeline(rq);
307 tmp = list_first_entry(&tl->requests, typeof(*tmp), link);
556 static void retire_requests(struct intel_timeline *tl)
560 list_for_each_entry_safe(rq, rn, &tl->requests, link)
566 request_alloc_slow(struct intel_timeline *tl, gfp_t gfp)
570 if (list_empty(&tl->requests))
577 rq = list_first_entry(&tl->requests, typeof(*rq), link);
586 rq = list_last_entry(&tl->requests, typeof(*rq), link);
590 retire_requests(tl);
628 struct intel_timeline *tl = ce->timeline;
670 rq = request_alloc_slow(tl, gfp);
692 ret = intel_timeline_get_seqno(tl, rq, &seqno);
696 rq->fence.context = tl->fence_context;
699 RCU_INIT_POINTER(rq->timeline, tl);
700 RCU_INIT_POINTER(rq->hwsp_cacheline, tl->hwsp_cacheline);
701 rq->hwsp_seqno = tl->hwsp_seqno;
767 struct intel_timeline *tl;
769 tl = intel_context_timeline_lock(ce);
770 if (IS_ERR(tl))
771 return ERR_CAST(tl);
774 rq = list_first_entry(&tl->requests, typeof(*rq), link);
775 if (!list_is_last(&rq->link, &tl->requests))
785 rq->cookie = lockdep_pin_lock(&tl->mutex);
790 intel_context_timeline_unlock(tl);
1039 static bool intel_timeline_sync_has_start(struct intel_timeline *tl,
1042 return __intel_timeline_sync_is_later(tl,
1047 static int intel_timeline_sync_set_start(struct intel_timeline *tl,
1050 return __intel_timeline_sync_set(tl, fence->context, fence->seqno - 1);
1337 struct intel_timeline * const tl = i915_request_timeline(rq);
1341 lockdep_assert_held(&tl->mutex);
1342 lockdep_unpin_lock(&tl->mutex, rq->cookie);
1406 rcu_access_pointer(prev->timeline) == tl)
1409 mutex_unlock(&tl->mutex);