Lines Matching refs:GEM_BUG_ON
54 GEM_BUG_ON(!is_barrier(&node->base)); in barrier_to_ll()
67 GEM_BUG_ON(!is_barrier(&node->base)); in barrier_to_engine()
137 GEM_BUG_ON(i915_active_is_idle(ref)); in __active_retire()
143 GEM_BUG_ON(rcu_access_pointer(ref->excl.fence)); in __active_retire()
159 GEM_BUG_ON(ref->tree.rb_node != &ref->cache->node); in __active_retire()
177 GEM_BUG_ON(i915_active_fence_isset(&it->base)); in __active_retire()
187 GEM_BUG_ON(!atomic_read(&ref->count)); in active_work()
197 GEM_BUG_ON(!atomic_read(&ref->count)); in active_retire()
242 GEM_BUG_ON(idx == 0); /* 0 is the unordered timeline, rsvd for cache */ in __active_lookup()
278 GEM_BUG_ON(i915_active_is_idle(ref)); in __active_lookup()
312 GEM_BUG_ON(i915_active_is_idle(ref)); in active_instance()
384 GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); in ____active_del_barrier()
501 GEM_BUG_ON(!it); /* slot must be preallocated */ in __active_fence()
705 GEM_BUG_ON(i915_active_is_idle(ref)); in __await_barrier()
790 GEM_BUG_ON(atomic_read(&ref->count)); in i915_active_fini()
791 GEM_BUG_ON(work_pending(&ref->work)); in i915_active_fini()
810 GEM_BUG_ON(i915_active_is_idle(ref)); in reuse_idle_barrier()
893 GEM_BUG_ON(i915_active_is_idle(ref)); in i915_active_acquire_preallocate_barrier()
905 GEM_BUG_ON(!mask); in i915_active_acquire_preallocate_barrier()
939 GEM_BUG_ON(rcu_access_pointer(node->base.fence) != ERR_PTR(-EAGAIN)); in i915_active_acquire_preallocate_barrier()
941 GEM_BUG_ON(barrier_to_engine(node) != engine); in i915_active_acquire_preallocate_barrier()
949 GEM_BUG_ON(!llist_empty(&ref->preallocated_barriers)); in i915_active_acquire_preallocate_barrier()
973 GEM_BUG_ON(i915_active_is_idle(ref)); in i915_active_acquire_barrier()
1005 GEM_BUG_ON(!intel_engine_pm_is_awake(engine)); in i915_active_acquire_barrier()
1022 GEM_BUG_ON(!intel_context_is_barrier(rq->context)); in i915_request_add_active_barriers()
1023 GEM_BUG_ON(intel_engine_is_virtual(engine)); in i915_request_add_active_barriers()
1024 GEM_BUG_ON(i915_request_timeline(rq) != engine->kernel_context->timeline); in i915_request_add_active_barriers()
1065 GEM_BUG_ON(test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)); in __i915_active_fence_set()
1090 GEM_BUG_ON(prev == fence); in __i915_active_fence_set()