Lines Matching full:timeline
189 err = intel_timeline_pin(ce->timeline, ww); in intel_context_pre_pin()
204 intel_timeline_unpin(ce->timeline); in intel_context_pre_pin()
215 intel_timeline_unpin(ce->timeline); in intel_context_post_unpin()
233 * We always pin the context/ring/timeline here, to ensure a pin in __intel_context_do_pin_ww()
238 err = i915_gem_object_lock(ce->timeline->hwsp_ggtt->obj, ww); in __intel_context_do_pin_ww()
307 i915_gem_ww_unlock_single(ce->timeline->hwsp_ggtt->obj); in __intel_context_do_pin_ww()
373 __intel_timeline_pin(ce->timeline); in __intel_context_active()
442 if (ce->timeline) in intel_context_fini()
443 intel_timeline_put(ce->timeline); in intel_context_fini()
473 intel_timeline_enter(ce->timeline); in intel_context_enter_engine()
478 intel_timeline_exit(ce->timeline); in intel_context_exit_engine()
485 struct intel_timeline *tl = ce->timeline; in intel_context_prepare_remote_request()
491 if (rcu_access_pointer(rq->timeline) != tl) { /* timeline sharing! */ in intel_context_prepare_remote_request()
499 * Guarantee context image and the timeline remains pinned until the in intel_context_prepare_remote_request()
536 * timeline->mutex should be the inner lock, but is used as outer lock. in intel_context_create_request()
539 lockdep_unpin_lock(&ce->timeline->mutex, rq->cookie); in intel_context_create_request()
540 mutex_release(&ce->timeline->mutex.dep_map, _RET_IP_); in intel_context_create_request()
541 mutex_acquire(&ce->timeline->mutex.dep_map, SINGLE_DEPTH_NESTING, 0, _RET_IP_); in intel_context_create_request()
542 rq->cookie = lockdep_pin_lock(&ce->timeline->mutex); in intel_context_create_request()