Lines Matching refs:GEM_BUG_ON

231 	GEM_BUG_ON(desc & GENMASK_ULL(63, 12));  in intel_lr_context_descriptor_update()
235 GEM_BUG_ON(desc & GENMASK_ULL(63, 32)); in intel_lr_context_descriptor_update()
243 GEM_BUG_ON(ctx->hw_id >= BIT(GEN11_SW_CTX_ID_WIDTH)); in intel_lr_context_descriptor_update()
255 GEM_BUG_ON(ctx->hw_id >= BIT(GEN8_CTX_ID_WIDTH)); in intel_lr_context_descriptor_update()
342 GEM_BUG_ON(rq_prio(rq) == I915_PRIORITY_INVALID); in __unwind_incomplete_requests()
348 GEM_BUG_ON(p->priority != rq_prio(rq)); in __unwind_incomplete_requests()
463 GEM_BUG_ON(!engine->i915->gt.awake); in execlists_submit_ports()
478 GEM_BUG_ON(count > !n); in execlists_submit_ports()
493 GEM_BUG_ON(!n); in execlists_submit_ports()
527 GEM_BUG_ON(rq == port_request(port)); in port_assign()
542 GEM_BUG_ON(execlists->preempt_complete_status != in inject_preempt_context()
544 GEM_BUG_ON((ce->lrc_reg_state[CTX_CONTEXT_CONTROL + 1] & in inject_preempt_context()
570 GEM_BUG_ON(!execlists_is_active(execlists, EXECLISTS_ACTIVE_PREEMPT)); in complete_preempt_context()
620 GEM_BUG_ON(!execlists_is_active(execlists, in execlists_dequeue()
622 GEM_BUG_ON(!port_count(&port[0])); in execlists_dequeue()
717 GEM_BUG_ON(last->hw_context == rq->hw_context); in execlists_dequeue()
723 GEM_BUG_ON(port_isset(port)); in execlists_dequeue()
765 GEM_BUG_ON(rb_first_cached(&execlists->queue) && in execlists_dequeue()
773 GEM_BUG_ON(execlists_is_active(&engine->execlists, in execlists_dequeue()
794 GEM_BUG_ON(!execlists->active); in execlists_cancel_port_requests()
861 GEM_BUG_ON(!rq->global_seqno); in execlists_cancel_requests()
887 GEM_BUG_ON(port_isset(execlists->port)); in execlists_cancel_requests()
889 GEM_BUG_ON(__tasklet_is_enabled(&execlists->tasklet)); in execlists_cancel_requests()
978 GEM_BUG_ON(status & GEN8_CTX_STATUS_IDLE_ACTIVE); in process_csb()
992 GEM_BUG_ON(!execlists_is_active(execlists, in process_csb()
1008 GEM_BUG_ON(count == 0); in process_csb()
1018 GEM_BUG_ON(status & GEN8_CTX_STATUS_PREEMPTED); in process_csb()
1019 GEM_BUG_ON(port_isset(&port[1]) && in process_csb()
1021 GEM_BUG_ON(!port_isset(&port[1]) && in process_csb()
1030 GEM_BUG_ON(!i915_request_completed(rq)); in process_csb()
1124 GEM_BUG_ON(RB_EMPTY_ROOT(&engine->execlists.queue.rb_root)); in execlists_submit_request()
1125 GEM_BUG_ON(list_empty(&request->sched.link)); in execlists_submit_request()
1142 GEM_BUG_ON(!locked); in sched_lock_engine()
1162 GEM_BUG_ON(prio == I915_PRIORITY_INVALID); in execlists_schedule()
1204 GEM_BUG_ON(p == dep); /* no cycles! */ in execlists_schedule()
1209 GEM_BUG_ON(p->signaler->attr.priority < node->attr.priority); in execlists_schedule()
1222 GEM_BUG_ON(!list_empty(&request->sched.link)); in execlists_schedule()
1250 GEM_BUG_ON(pl->priority != prio); in execlists_schedule()
1267 GEM_BUG_ON(ce->pin_count); in execlists_context_destroy()
1274 GEM_BUG_ON(i915_gem_object_is_active(ce->state->obj)); in execlists_context_destroy()
1323 GEM_BUG_ON(!ce->state); in __execlists_context_pin()
1344 GEM_BUG_ON(!intel_ring_offset_valid(ce->ring, ce->ring->head)); in __execlists_context_pin()
1375 GEM_BUG_ON(!ce->pin_count); /* no overflow please! */ in execlists_context_pin()
1386 GEM_BUG_ON(!request->hw_context->pin_count); in execlists_request_alloc()
1506 GEM_BUG_ON(!count || count > 63); in emit_lri()