Lines Matching refs:GEM_BUG_ON
50 GEM_BUG_ON(!is_barrier(&node->base)); in barrier_to_ll()
63 GEM_BUG_ON(!is_barrier(&node->base)); in barrier_to_engine()
133 GEM_BUG_ON(i915_active_is_idle(ref)); in __active_retire()
139 GEM_BUG_ON(rcu_access_pointer(ref->excl.fence)); in __active_retire()
155 GEM_BUG_ON(ref->tree.rb_node != &ref->cache->node); in __active_retire()
172 GEM_BUG_ON(i915_active_fence_isset(&it->base)); in __active_retire()
182 GEM_BUG_ON(!atomic_read(&ref->count)); in active_work()
192 GEM_BUG_ON(!atomic_read(&ref->count)); in active_retire()
237 GEM_BUG_ON(idx == 0); /* 0 is the unordered timeline, rsvd for cache */ in __active_lookup()
271 GEM_BUG_ON(i915_active_is_idle(ref)); in __active_lookup()
300 GEM_BUG_ON(i915_active_is_idle(ref)); in active_instance()
374 GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); in ____active_del_barrier()
675 GEM_BUG_ON(i915_active_is_idle(ref)); in __await_barrier()
760 GEM_BUG_ON(atomic_read(&ref->count)); in i915_active_fini()
761 GEM_BUG_ON(work_pending(&ref->work)); in i915_active_fini()
780 GEM_BUG_ON(i915_active_is_idle(ref)); in reuse_idle_barrier()
863 GEM_BUG_ON(i915_active_is_idle(ref)); in i915_active_acquire_preallocate_barrier()
875 GEM_BUG_ON(!mask); in i915_active_acquire_preallocate_barrier()
909 GEM_BUG_ON(rcu_access_pointer(node->base.fence) != ERR_PTR(-EAGAIN)); in i915_active_acquire_preallocate_barrier()
911 GEM_BUG_ON(barrier_to_engine(node) != engine); in i915_active_acquire_preallocate_barrier()
919 GEM_BUG_ON(!llist_empty(&ref->preallocated_barriers)); in i915_active_acquire_preallocate_barrier()
943 GEM_BUG_ON(i915_active_is_idle(ref)); in i915_active_acquire_barrier()
975 GEM_BUG_ON(!intel_engine_pm_is_awake(engine)); in i915_active_acquire_barrier()
992 GEM_BUG_ON(!intel_context_is_barrier(rq->context)); in i915_request_add_active_barriers()
993 GEM_BUG_ON(intel_engine_is_virtual(engine)); in i915_request_add_active_barriers()
994 GEM_BUG_ON(i915_request_timeline(rq) != engine->kernel_context->timeline); in i915_request_add_active_barriers()
1035 GEM_BUG_ON(test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)); in __i915_active_fence_set()
1060 GEM_BUG_ON(prev == fence); in __i915_active_fence_set()