Lines Matching refs:active
133 i915_active_fini(&cl->active); in __rcu_cacheline_free()
139 GEM_BUG_ON(!i915_active_is_idle(&cl->active)); in __idle_cacheline_free()
144 static void __cacheline_retire(struct i915_active *active) in __cacheline_retire() argument
147 container_of(active, typeof(*cl), active); in __cacheline_retire()
154 static int __cacheline_active(struct i915_active *active) in __cacheline_active() argument
157 container_of(active, typeof(*cl), active); in __cacheline_active()
184 i915_active_init(&cl->active, __cacheline_active, __cacheline_retire); in cacheline_alloc()
196 i915_active_acquire(&cl->active); in cacheline_acquire()
202 i915_active_release(&cl->active); in cacheline_release()
207 if (!i915_active_acquire_if_busy(&cl->active)) { in cacheline_free()
215 i915_active_release(&cl->active); in cacheline_free()
505 err = i915_active_ref(&tl->hwsp_cacheline->active, in __intel_timeline_get_seqno()
560 return i915_active_add_request(&cl->active, rq); in cacheline_ref()
576 if (unlikely(!i915_active_acquire_if_busy(&cl->active))) in intel_timeline_read_hwsp()
588 i915_active_release(&cl->active); in intel_timeline_read_hwsp()
592 i915_active_release(&cl->active); in intel_timeline_read_hwsp()