Lines Matching refs:GEM_BUG_ON

123 	GEM_BUG_ON(start >= end);  in gen8_pd_range()
137 GEM_BUG_ON(start >= end); in gen8_pd_contains()
143 GEM_BUG_ON(start >= end); in gen8_pt_count()
210 GEM_BUG_ON(end > vm->total >> GEN8_PTE_SHIFT); in __gen8_ppgtt_clear()
216 GEM_BUG_ON(!len || len >= atomic_read(px_used(pd))); in __gen8_ppgtt_clear()
245 GEM_BUG_ON(!count || count >= atomic_read(&pt->used)); in __gen8_ppgtt_clear()
249 GEM_BUG_ON(num_ptes % 16); in __gen8_ppgtt_clear()
250 GEM_BUG_ON(pte % 16); in __gen8_ppgtt_clear()
274 GEM_BUG_ON(!IS_ALIGNED(start, BIT_ULL(GEN8_PTE_SHIFT))); in gen8_ppgtt_clear()
275 GEM_BUG_ON(!IS_ALIGNED(length, BIT_ULL(GEN8_PTE_SHIFT))); in gen8_ppgtt_clear()
276 GEM_BUG_ON(range_overflows(start, length, vm->total)); in gen8_ppgtt_clear()
280 GEM_BUG_ON(length == 0); in gen8_ppgtt_clear()
293 GEM_BUG_ON(end > vm->total >> GEN8_PTE_SHIFT); in __gen8_ppgtt_alloc()
299 GEM_BUG_ON(!len || (idx + len - 1) >> gen8_pd_shift(1)); in __gen8_ppgtt_alloc()
302 GEM_BUG_ON(!atomic_read(px_used(pd))); /* Must be pinned! */ in __gen8_ppgtt_alloc()
336 GEM_BUG_ON(!atomic_read(&pt->used)); in __gen8_ppgtt_alloc()
347 GEM_BUG_ON(atomic_read(&pt->used) > NALLOC * I915_PDES); in __gen8_ppgtt_alloc()
358 GEM_BUG_ON(!IS_ALIGNED(start, BIT_ULL(GEN8_PTE_SHIFT))); in gen8_ppgtt_alloc()
359 GEM_BUG_ON(!IS_ALIGNED(length, BIT_ULL(GEN8_PTE_SHIFT))); in gen8_ppgtt_alloc()
360 GEM_BUG_ON(range_overflows(start, length, vm->total)); in gen8_ppgtt_alloc()
364 GEM_BUG_ON(length == 0); in gen8_ppgtt_alloc()
433 GEM_BUG_ON(sg_dma_len(iter->sg) < I915_GTT_PAGE_SIZE); in gen8_ppgtt_insert_pte()
477 GEM_BUG_ON(!i915_vm_is_4lvl(vm)); in xehpsdv_ppgtt_insert_huge()
504 GEM_BUG_ON(__gen8_pte_index(start, 0) % 16); in xehpsdv_ppgtt_insert_huge()
505 GEM_BUG_ON(rem < I915_GTT_PAGE_SIZE_64K); in xehpsdv_ppgtt_insert_huge()
506 GEM_BUG_ON(!IS_ALIGNED(iter->dma, in xehpsdv_ppgtt_insert_huge()
519 GEM_BUG_ON(pt->is_compact); in xehpsdv_ppgtt_insert_huge()
528 GEM_BUG_ON(rem < page_size); in xehpsdv_ppgtt_insert_huge()
565 GEM_BUG_ON(!i915_vm_is_4lvl(vm)); in gen8_ppgtt_insert_huge()
605 GEM_BUG_ON(sg_dma_len(iter->sg) < page_size); in gen8_ppgtt_insert_huge()
721 GEM_BUG_ON(pt->is_compact); in gen8_ppgtt_insert_entry()
742 GEM_BUG_ON(!IS_ALIGNED(addr, SZ_64K)); in __xehpsdv_ppgtt_insert_entry_lm()
743 GEM_BUG_ON(!IS_ALIGNED(offset, SZ_64K)); in __xehpsdv_ppgtt_insert_entry_lm()
781 GEM_BUG_ON(!clone->has_read_only); in gen8_init_scratch()
835 GEM_BUG_ON(vm->top != 2); in gen8_preallocate_top_level_pdp()
836 GEM_BUG_ON(gen8_pd_top_count(vm) != GEN8_3LVL_PDPES); in gen8_preallocate_top_level_pdp()
868 GEM_BUG_ON(count > I915_PDES); in gen8_alloc_top_pd()