Lines Matching refs:GEM_BUG_ON
30 GEM_BUG_ON(!atomic_read(&ring->pin_count)); in __intel_ring_pin()
151 GEM_BUG_ON(!is_power_of_2(size)); in intel_engine_create_ring()
152 GEM_BUG_ON(RING_CTL_SIZE(size) & ~RING_NR_PAGES); in intel_engine_create_ring()
202 GEM_BUG_ON(list_empty(&tl->requests)); in wait_for_space()
225 GEM_BUG_ON(ring->space < bytes); in wait_for_space()
239 GEM_BUG_ON(num_dwords & 1); in intel_ring_begin()
242 GEM_BUG_ON(total_bytes > ring->effective_size); in intel_ring_begin()
278 GEM_BUG_ON(!rq->reserved_space); in intel_ring_begin()
289 GEM_BUG_ON(need_wrap > ring->space); in intel_ring_begin()
290 GEM_BUG_ON(ring->emit + need_wrap > ring->size); in intel_ring_begin()
291 GEM_BUG_ON(!IS_ALIGNED(need_wrap, sizeof(u64))); in intel_ring_begin()
299 GEM_BUG_ON(ring->emit > ring->size - bytes); in intel_ring_begin()
300 GEM_BUG_ON(ring->space < bytes); in intel_ring_begin()
320 GEM_BUG_ON(num_dwords & 1); in intel_ring_cacheline_align()
329 GEM_BUG_ON(rq->ring->emit & (CACHELINE_BYTES - 1)); in intel_ring_cacheline_align()