Lines Matching full:active
43 struct i915_active active; member
47 static int pulse_active(struct i915_active *active) in pulse_active() argument
49 kref_get(&container_of(active, struct pulse, active)->kref); in pulse_active()
57 i915_active_fini(&p->active); in pulse_free()
66 static void pulse_retire(struct i915_active *active) in pulse_retire() argument
68 pulse_put(container_of(active, struct pulse, active)); in pulse_retire()
80 i915_active_init(&p->active, pulse_active, pulse_retire, 0); in pulse_create()
87 wait_var_event_timeout(&p->active, i915_active_is_idle(&p->active), HZ); in pulse_unlock_wait()
102 err = i915_active_acquire(&p->active); in __live_idle_pulse()
106 err = i915_active_acquire_preallocate_barrier(&p->active, engine); in __live_idle_pulse()
108 i915_active_release(&p->active); in __live_idle_pulse()
112 i915_active_acquire_barrier(&p->active); in __live_idle_pulse()
113 i915_active_release(&p->active); in __live_idle_pulse()
115 GEM_BUG_ON(i915_active_is_idle(&p->active)); in __live_idle_pulse()
138 if (!i915_active_is_idle(&p->active)) { in __live_idle_pulse()
143 i915_active_print(&p->active, &m); in __live_idle_pulse()