GEM_BUG_ON 528 drivers/gpu/drm/i915/display/intel_fbc.c GEM_BUG_ON(range_overflows_t(u64, dev_priv->dsm.start, GEM_BUG_ON 531 drivers/gpu/drm/i915/display/intel_fbc.c GEM_BUG_ON(range_overflows_t(u64, dev_priv->dsm.start, GEM_BUG_ON 1362 drivers/gpu/drm/i915/display/intel_overlay.c GEM_BUG_ON(!overlay->context); GEM_BUG_ON 17 drivers/gpu/drm/i915/gem/i915_gem_busy.c GEM_BUG_ON(id >= 16); GEM_BUG_ON 21 drivers/gpu/drm/i915/gem/i915_gem_clflush.c GEM_BUG_ON(!i915_gem_object_has_pages(obj)); GEM_BUG_ON 62 drivers/gpu/drm/i915/gem/i915_gem_clflush.c GEM_BUG_ON(!obj->cache_dirty); GEM_BUG_ON 120 drivers/gpu/drm/i915/gem/i915_gem_clflush.c GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); GEM_BUG_ON 32 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c GEM_BUG_ON(!vma->pages); GEM_BUG_ON 197 drivers/gpu/drm/i915/gem/i915_gem_client_blt.c GEM_BUG_ON(1); GEM_BUG_ON 207 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(!ctx->hw_id); /* perma-pinned kernel context */ GEM_BUG_ON 313 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(!i915_gem_context_is_closed(ctx)); GEM_BUG_ON 480 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(old && i915_vm_is_4lvl(vm) != i915_vm_is_4lvl(old)); GEM_BUG_ON 580 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(!i915_gem_context_is_kernel(ctx)); GEM_BUG_ON 605 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(!i915_gem_context_is_kernel(ctx)); GEM_BUG_ON 630 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(dev_priv->kernel_context); GEM_BUG_ON 647 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(ctx->hw_id); GEM_BUG_ON 648 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(!atomic_read(&ctx->hw_id_pin_count)); GEM_BUG_ON 664 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(!list_empty(&i915->contexts.hw_id_list)); GEM_BUG_ON 736 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(i915_gem_context_is_kernel(ctx)); GEM_BUG_ON 737 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(err > 0); GEM_BUG_ON 801 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(err == 0); /* reserved for invalid/unassigned ppgtt */ GEM_BUG_ON 880 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(!task); GEM_BUG_ON 957 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(!ret); GEM_BUG_ON 1168 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(INTEL_GEN(ce->engine->i915) < 8); GEM_BUG_ON 2052 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(src == dst); GEM_BUG_ON 2346 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(i915_gem_context_is_closed(ctx)); GEM_BUG_ON 2349 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(atomic_read(&ctx->hw_id_pin_count)); GEM_BUG_ON 2358 drivers/gpu/drm/i915/gem/i915_gem_context.c GEM_BUG_ON(atomic_read(&ctx->hw_id_pin_count) == ~0u); GEM_BUG_ON 28 drivers/gpu/drm/i915/gem/i915_gem_context.h GEM_BUG_ON(i915_gem_context_is_closed(ctx)); GEM_BUG_ON 126 drivers/gpu/drm/i915/gem/i915_gem_context.h GEM_BUG_ON(atomic_read(&ctx->hw_id_pin_count) == 0u); GEM_BUG_ON 216 drivers/gpu/drm/i915/gem/i915_gem_context.h GEM_BUG_ON(!engines); GEM_BUG_ON 87 drivers/gpu/drm/i915/gem/i915_gem_domain.c GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_WC) != 0); GEM_BUG_ON 148 drivers/gpu/drm/i915/gem/i915_gem_domain.c GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_GTT) != 0); GEM_BUG_ON 487 drivers/gpu/drm/i915/gem/i915_gem_domain.c GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 562 drivers/gpu/drm/i915/gem/i915_gem_domain.c GEM_BUG_ON(obj->write_domain & ~I915_GEM_DOMAIN_CPU); GEM_BUG_ON 416 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(!(flags & __EXEC_OBJECT_HAS_PIN)); GEM_BUG_ON 498 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(i915_vma_is_closed(vma)); GEM_BUG_ON 632 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(eb_vma_misplaced(entry, vma, exec_flags)); GEM_BUG_ON 810 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(vma != eb->vma[i]); GEM_BUG_ON 811 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(vma->exec_flags != &eb->flags[i]); GEM_BUG_ON 812 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(drm_mm_node_allocated(&vma->node) && GEM_BUG_ON 862 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(vma->exec_flags != &eb->flags[i]); GEM_BUG_ON 884 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(eb->reloc_cache.rq); GEM_BUG_ON 936 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(cache->rq_size >= obj->base.size / sizeof(u32)); GEM_BUG_ON 1738 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(!eb->batch); GEM_BUG_ON 1823 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(err == -EALREADY); /* No duplicate vma */ GEM_BUG_ON 1826 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(i == 0); GEM_BUG_ON 1836 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(vma != eb->vma[0]); GEM_BUG_ON 2561 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(!eb.lut_size); GEM_BUG_ON 2640 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c GEM_BUG_ON(eb.reloc_cache.rq); GEM_BUG_ON 178 drivers/gpu/drm/i915/gem/i915_gem_internal.c GEM_BUG_ON(!size); GEM_BUG_ON 179 drivers/gpu/drm/i915/gem/i915_gem_internal.c GEM_BUG_ON(!IS_ALIGNED(size, PAGE_SIZE)); GEM_BUG_ON 320 drivers/gpu/drm/i915/gem/i915_gem_mman.c GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 379 drivers/gpu/drm/i915/gem/i915_gem_mman.c GEM_BUG_ON(!obj->userfault_count); GEM_BUG_ON 123 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(vma->obj != obj); GEM_BUG_ON 124 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(!atomic_read(&vma->open_count)); GEM_BUG_ON 146 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(!atomic_read(&i915->mm.free_count)); GEM_BUG_ON 165 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(i915_vma_is_active(vma)); GEM_BUG_ON 169 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(!list_empty(&obj->vma.list)); GEM_BUG_ON 170 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(!RB_EMPTY_ROOT(&obj->vma.tree)); GEM_BUG_ON 174 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(atomic_read(&obj->bind_count)); GEM_BUG_ON 175 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(obj->userfault_count); GEM_BUG_ON 176 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(!list_empty(&obj->lut_list)); GEM_BUG_ON 180 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(i915_gem_object_has_pages(obj)); GEM_BUG_ON 218 drivers/gpu/drm/i915/gem/i915_gem_object.c GEM_BUG_ON(i915_gem_object_is_framebuffer(obj)); GEM_BUG_ON 194 drivers/gpu/drm/i915/gem/i915_gem_object.h GEM_BUG_ON(!tiling); GEM_BUG_ON 262 drivers/gpu/drm/i915/gem/i915_gem_object.h GEM_BUG_ON(!i915_gem_object_has_pages(obj)); GEM_BUG_ON 276 drivers/gpu/drm/i915/gem/i915_gem_object.h GEM_BUG_ON(!i915_gem_object_has_pages(obj)); GEM_BUG_ON 277 drivers/gpu/drm/i915/gem/i915_gem_object.h GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 29 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c GEM_BUG_ON(intel_engine_is_virtual(ce->engine)); GEM_BUG_ON 53 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); GEM_BUG_ON 211 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c GEM_BUG_ON(src->size != dst->size); GEM_BUG_ON 213 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c GEM_BUG_ON(intel_engine_is_virtual(ce->engine)); GEM_BUG_ON 237 drivers/gpu/drm/i915/gem/i915_gem_object_blt.c GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); GEM_BUG_ON 36 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(obj->mm.quirked); GEM_BUG_ON 41 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(!sg_page_sizes); GEM_BUG_ON 57 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(!HAS_PAGE_SIZES(i915, obj->mm.page_sizes.sg)); GEM_BUG_ON 88 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(!err && !i915_gem_object_has_pages(obj)); GEM_BUG_ON 109 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 136 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(i915_gem_object_has_pages(obj)); GEM_BUG_ON 191 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(atomic_read(&obj->bind_count)); GEM_BUG_ON 255 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(i != n_pages); GEM_BUG_ON 297 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 308 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(!i915_gem_object_has_pages(obj)); GEM_BUG_ON 353 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 354 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(range_overflows_t(typeof(obj->base.size), GEM_BUG_ON 383 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(n >= obj->base.size >> PAGE_SHIFT); GEM_BUG_ON 384 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 463 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(!sg); GEM_BUG_ON 476 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(!sg); GEM_BUG_ON 492 drivers/gpu/drm/i915/gem/i915_gem_pages.c GEM_BUG_ON(!i915_gem_object_has_struct_page(obj)); GEM_BUG_ON 48 drivers/gpu/drm/i915/gem/i915_gem_shmem.c GEM_BUG_ON(obj->read_domains & I915_GEM_GPU_DOMAINS); GEM_BUG_ON 49 drivers/gpu/drm/i915/gem/i915_gem_shmem.c GEM_BUG_ON(obj->write_domain & I915_GEM_GPU_DOMAINS); GEM_BUG_ON 280 drivers/gpu/drm/i915/gem/i915_gem_shmem.c GEM_BUG_ON(obj->mm.madv == __I915_MADV_PURGED); GEM_BUG_ON 338 drivers/gpu/drm/i915/gem/i915_gem_shmem.c GEM_BUG_ON(!access_ok(user_data, arg->size)); GEM_BUG_ON 495 drivers/gpu/drm/i915/gem/i915_gem_shmem.c GEM_BUG_ON(!(mapping_gfp_mask(mapping) & __GFP_RECLAIM)); GEM_BUG_ON 544 drivers/gpu/drm/i915/gem/i915_gem_shmem.c GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); GEM_BUG_ON 537 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c GEM_BUG_ON(list_empty(&obj->mm.link)); GEM_BUG_ON 550 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c GEM_BUG_ON(!i915_gem_object_has_pages(obj)); GEM_BUG_ON 551 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c GEM_BUG_ON(!list_empty(&obj->mm.link)); GEM_BUG_ON 558 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c GEM_BUG_ON(!kref_read(&obj->base.refcount)); GEM_BUG_ON 387 drivers/gpu/drm/i915/gem/i915_gem_stolen.c GEM_BUG_ON(dev_priv->dsm.start == 0); GEM_BUG_ON 388 drivers/gpu/drm/i915/gem/i915_gem_stolen.c GEM_BUG_ON(dev_priv->dsm.end <= dev_priv->dsm.start); GEM_BUG_ON 481 drivers/gpu/drm/i915/gem/i915_gem_stolen.c GEM_BUG_ON(range_overflows(offset, size, resource_size(&dev_priv->dsm))); GEM_BUG_ON 535 drivers/gpu/drm/i915/gem/i915_gem_stolen.c GEM_BUG_ON(!stolen); GEM_BUG_ON 685 drivers/gpu/drm/i915/gem/i915_gem_stolen.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 695 drivers/gpu/drm/i915/gem/i915_gem_stolen.c GEM_BUG_ON(i915_gem_object_is_shrinkable(obj)); GEM_BUG_ON 58 drivers/gpu/drm/i915/gem/i915_gem_tiling.c GEM_BUG_ON(!size); GEM_BUG_ON 63 drivers/gpu/drm/i915/gem/i915_gem_tiling.c GEM_BUG_ON(!stride); GEM_BUG_ON 67 drivers/gpu/drm/i915/gem/i915_gem_tiling.c GEM_BUG_ON(!IS_ALIGNED(stride, I965_FENCE_PAGE)); GEM_BUG_ON 96 drivers/gpu/drm/i915/gem/i915_gem_tiling.c GEM_BUG_ON(!size); GEM_BUG_ON 213 drivers/gpu/drm/i915/gem/i915_gem_tiling.c GEM_BUG_ON(!i915_tiling_ok(obj, tiling, stride)); GEM_BUG_ON 214 drivers/gpu/drm/i915/gem/i915_gem_tiling.c GEM_BUG_ON(!stride ^ (tiling == I915_TILING_NONE)); GEM_BUG_ON 255 drivers/gpu/drm/i915/gem/i915_gem_tiling.c GEM_BUG_ON(!obj->mm.quirked); GEM_BUG_ON 260 drivers/gpu/drm/i915/gem/i915_gem_tiling.c GEM_BUG_ON(obj->mm.quirked); GEM_BUG_ON 48 drivers/gpu/drm/i915/gem/i915_gem_userptr.c GEM_BUG_ON(!RB_EMPTY_NODE(&mo->it.rb)); GEM_BUG_ON 177 drivers/gpu/drm/i915/gem/i915_gem_wait.c GEM_BUG_ON(timeout < 0); GEM_BUG_ON 102 drivers/gpu/drm/i915/gem/selftests/huge_gem_object.c GEM_BUG_ON(!phys_size || phys_size > dma_size); GEM_BUG_ON 103 drivers/gpu/drm/i915/gem/selftests/huge_gem_object.c GEM_BUG_ON(!IS_ALIGNED(phys_size, PAGE_SIZE)); GEM_BUG_ON 104 drivers/gpu/drm/i915/gem/selftests/huge_gem_object.c GEM_BUG_ON(!IS_ALIGNED(dma_size, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 92 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(order >= MAX_ORDER); GEM_BUG_ON 118 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(sg_page_sizes != obj->mm.page_mask); GEM_BUG_ON 155 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!size); GEM_BUG_ON 156 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!IS_ALIGNED(size, BIT(__ffs(page_mask)))); GEM_BUG_ON 208 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!page_size); GEM_BUG_ON 257 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!page_size); GEM_BUG_ON 304 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!size); GEM_BUG_ON 305 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 669 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!expected_gtt); GEM_BUG_ON 670 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(size); GEM_BUG_ON 1005 drivers/gpu/drm/i915/gem/selftests/huge_pages.c GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 178 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(obj->base.size > vm->total); GEM_BUG_ON 179 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(!intel_engine_can_store_dword(engine)); GEM_BUG_ON 295 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(obj->base.handle_count); GEM_BUG_ON 347 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(!IS_ALIGNED(npages, DW_PER_PAGE)); GEM_BUG_ON 634 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(!intel_engine_can_store_dword(ce->engine)); GEM_BUG_ON 1157 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(offset >= node->start + node->size); GEM_BUG_ON 1175 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(offset < I915_GTT_PAGE_SIZE); GEM_BUG_ON 1264 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(offset < I915_GTT_PAGE_SIZE); GEM_BUG_ON 1413 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c GEM_BUG_ON(ctx_b->vm->total != vm_total); GEM_BUG_ON 99 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c GEM_BUG_ON(i915_gem_object_get_tiling(obj) != tile->tiling); GEM_BUG_ON 100 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c GEM_BUG_ON(i915_gem_object_get_stride(obj) != tile->stride); GEM_BUG_ON 119 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c GEM_BUG_ON(view.partial.size > nreal); GEM_BUG_ON 130 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c GEM_BUG_ON(n >= view.partial.size); GEM_BUG_ON 251 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c GEM_BUG_ON(tile.swizzle == I915_BIT_6_SWIZZLE_UNKNOWN); GEM_BUG_ON 430 drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c GEM_BUG_ON(!i915->gt.awake); GEM_BUG_ON 62 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c GEM_BUG_ON(offset + (count - 1) * PAGE_SIZE > vma->node.size); GEM_BUG_ON 117 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c GEM_BUG_ON(vma->size > vm->total); GEM_BUG_ON 118 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c GEM_BUG_ON(!intel_engine_can_store_dword(engine)); GEM_BUG_ON 119 drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.c GEM_BUG_ON(!i915_vma_is_pinned(vma)); GEM_BUG_ON 58 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c GEM_BUG_ON(!b->irq_enabled); GEM_BUG_ON 145 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c GEM_BUG_ON(list_empty(&ce->signals)); GEM_BUG_ON 151 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c GEM_BUG_ON(!check_signal_order(ce, rq)); GEM_BUG_ON 156 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c GEM_BUG_ON(!test_bit(I915_FENCE_FLAG_SIGNAL, GEM_BUG_ON 286 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c GEM_BUG_ON(test_bit(I915_FENCE_FLAG_SIGNAL, &rq->fence.flags)); GEM_BUG_ON 314 drivers/gpu/drm/i915/gt/intel_breadcrumbs.c GEM_BUG_ON(!check_signal_order(ce, rq)); GEM_BUG_ON 80 drivers/gpu/drm/i915/gt/intel_context.c GEM_BUG_ON(!intel_context_is_pinned(ce)); /* no overflow! */ GEM_BUG_ON 222 drivers/gpu/drm/i915/gt/intel_context.c GEM_BUG_ON(!engine->cops); GEM_BUG_ON 299 drivers/gpu/drm/i915/gt/intel_context.c GEM_BUG_ON(rq->hw_context == ce); GEM_BUG_ON 321 drivers/gpu/drm/i915/gt/intel_context.c GEM_BUG_ON(i915_active_is_idle(&ce->active)); GEM_BUG_ON 81 drivers/gpu/drm/i915/gt/intel_context.h GEM_BUG_ON(!intel_context_is_pinned(ce)); GEM_BUG_ON 106 drivers/gpu/drm/i915/gt/intel_context.h GEM_BUG_ON(!ce->active_count); GEM_BUG_ON 134 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(execlists->active - execlists->inflight > GEM_BUG_ON 245 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON((rq->ring->vaddr + rq->ring->emit) != cs); GEM_BUG_ON 278 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(offset > rq->ring->size); GEM_BUG_ON 285 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(!intel_ring_offset_valid(ring, tail)); GEM_BUG_ON 302 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(cacheline(tail) == cacheline(ring->head) && GEM_BUG_ON 329 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(!is_power_of_2(size)); GEM_BUG_ON 392 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(!IS_ALIGNED(gtt_offset, 8)); GEM_BUG_ON 413 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(gtt_offset & (1 << 5)); GEM_BUG_ON 415 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(!IS_ALIGNED(gtt_offset, 8)); GEM_BUG_ON 457 drivers/gpu/drm/i915/gt/intel_engine.h GEM_BUG_ON(engine->stats.active == 0); GEM_BUG_ON 233 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(i == MAX_MMIO_BASES); GEM_BUG_ON 234 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(!bases[i].base); GEM_BUG_ON 481 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(!is_power_of_2(execlists_num_ports(execlists))); GEM_BUG_ON 482 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(execlists_num_ports(execlists) > EXECLIST_MAX_PORTS); GEM_BUG_ON 648 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(engine->destroy == (typeof(engine->destroy))kfree); GEM_BUG_ON 650 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(!engine->cops); GEM_BUG_ON 672 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(!engine->gt->scratch); GEM_BUG_ON 698 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(dw & 1); /* RING_TAIL must be qword aligned */ GEM_BUG_ON 806 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(!list_empty(&engine->active.requests)); GEM_BUG_ON 819 drivers/gpu/drm/i915/gt/intel_engine_cs.c GEM_BUG_ON(!llist_empty(&engine->barrier_tasks)); GEM_BUG_ON 149 drivers/gpu/drm/i915/gt/intel_engine_pm.c GEM_BUG_ON(engine->execlists.queue_priority_hint != INT_MIN); GEM_BUG_ON 72 drivers/gpu/drm/i915/gt/intel_engine_pool.c GEM_BUG_ON(!intel_engine_pm_is_awake(to_engine(pool))); GEM_BUG_ON 120 drivers/gpu/drm/i915/gt/intel_engine_pool.c GEM_BUG_ON(!intel_engine_pm_is_awake(to_engine(pool))); GEM_BUG_ON 178 drivers/gpu/drm/i915/gt/intel_engine_pool.c GEM_BUG_ON(!list_empty(&pool->cache_list[n])); GEM_BUG_ON 186 drivers/gpu/drm/i915/gt/intel_engine_user.c GEM_BUG_ON(idx >= ARRAY_SIZE(ring->gt->engine)); GEM_BUG_ON 211 drivers/gpu/drm/i915/gt/intel_engine_user.c GEM_BUG_ON(engine->class >= ARRAY_SIZE(uabi_classes)); GEM_BUG_ON 214 drivers/gpu/drm/i915/gt/intel_engine_user.c GEM_BUG_ON(engine->uabi_class >= ARRAY_SIZE(uabi_instances)); GEM_BUG_ON 227 drivers/gpu/drm/i915/gt/intel_engine_user.c GEM_BUG_ON(intel_engine_lookup_user(i915, GEM_BUG_ON 394 drivers/gpu/drm/i915/gt/intel_gt_irq.c GEM_BUG_ON(enabled_irq_mask & ~interrupt_mask); GEM_BUG_ON 39 drivers/gpu/drm/i915/gt/intel_gt_pm.c GEM_BUG_ON(!gt->awake); GEM_BUG_ON 81 drivers/gpu/drm/i915/gt/intel_gt_pm.c GEM_BUG_ON(!wakeref); GEM_BUG_ON 225 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!intel_engine_is_virtual(engine)); GEM_BUG_ON 455 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ctx->hw_id >= BIT(GEN11_SW_CTX_ID_WIDTH)); GEM_BUG_ON 467 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ctx->hw_id >= BIT(GEN8_CTX_ID_WIDTH)); GEM_BUG_ON 502 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(rq_prio(rq) == I915_PRIORITY_INVALID); GEM_BUG_ON 507 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(RB_EMPTY_ROOT(&engine->execlists.queue.rb_root)); GEM_BUG_ON 579 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!intel_engine_pm_is_awake(rq->engine)); GEM_BUG_ON 590 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(intel_context_inflight(ce) != rq->engine); GEM_BUG_ON 766 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!assert_pending_valid(execlists, "submit")); GEM_BUG_ON 776 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!intel_engine_pm_is_awake(engine)); GEM_BUG_ON 818 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(prev == next); GEM_BUG_ON 819 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!assert_priority_queue(prev, next)); GEM_BUG_ON 955 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(i915_request_is_active(rq)); GEM_BUG_ON 967 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(i915_request_started(w) && GEM_BUG_ON 970 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(i915_request_is_active(w)); GEM_BUG_ON 977 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(rq_prio(w) > rq_prio(rq)); GEM_BUG_ON 1183 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(rq != ve->request); GEM_BUG_ON 1184 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(rq->engine != &ve->base); GEM_BUG_ON 1185 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(rq->hw_context != &ve->context); GEM_BUG_ON 1213 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!(rq->execution_mask & engine->mask)); GEM_BUG_ON 1220 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(READ_ONCE(ve->context.inflight)); GEM_BUG_ON 1241 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ve->siblings[0] != engine); GEM_BUG_ON 1325 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(last && GEM_BUG_ON 1459 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(GEN12_CTX_SWITCH_DETAIL(upper_dw)); GEM_BUG_ON 1462 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!ctx_away_valid); GEM_BUG_ON 1493 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(USES_GUC_SUBMISSION(engine->i915)); GEM_BUG_ON 1563 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(*execlists->active); GEM_BUG_ON 1564 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!assert_pending_valid(execlists, "promote")); GEM_BUG_ON 1589 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!i915_request_completed(*execlists->active) && GEM_BUG_ON 1593 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(execlists->active - execlists->inflight > GEM_BUG_ON 1658 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!list_empty(&node->link)); GEM_BUG_ON 1697 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(RB_EMPTY_ROOT(&engine->execlists.queue.rb_root)); GEM_BUG_ON 1698 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(list_empty(&request->sched.link)); GEM_BUG_ON 1715 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!i915_active_is_idle(&ce->active)); GEM_BUG_ON 1716 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(intel_context_is_pinned(ce)); GEM_BUG_ON 1769 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!intel_ring_offset_valid(ring, ring->head)); GEM_BUG_ON 1770 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!intel_ring_offset_valid(ring, ring->tail)); GEM_BUG_ON 1792 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!ce->state); GEM_BUG_ON 1797 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!i915_vma_is_pinned(ce->state)); GEM_BUG_ON 1874 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!rq->timeline->has_initial_breadcrumb); GEM_BUG_ON 1909 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(intel_vgpu_active(rq->i915)); GEM_BUG_ON 1960 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!intel_context_is_pinned(request->hw_context)); GEM_BUG_ON 2094 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!count || count > 63); GEM_BUG_ON 2391 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!reset_in_progress(execlists)); GEM_BUG_ON 2481 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(i915_active_is_idle(&ce->active)); GEM_BUG_ON 2482 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!i915_vma_is_pinned(ce->state)); GEM_BUG_ON 2639 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(__tasklet_is_enabled(&execlists->tasklet)); GEM_BUG_ON 2654 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!reset_in_progress(execlists)); GEM_BUG_ON 3356 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ce->state); GEM_BUG_ON 3424 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!list_empty(virtual_queue(ve))); GEM_BUG_ON 3425 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ve->request); GEM_BUG_ON 3426 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ve->context.inflight); GEM_BUG_ON 3443 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(__tasklet_is_scheduled(&ve->base.execlists.tasklet)); GEM_BUG_ON 3618 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(RB_EMPTY_NODE(&node->rb)); GEM_BUG_ON 3641 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(ve->base.submit_request != virtual_submit_request); GEM_BUG_ON 3647 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!i915_request_completed(old)); GEM_BUG_ON 3661 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!list_empty(virtual_queue(ve))); GEM_BUG_ON 3773 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(!is_power_of_2(sibling->mask)); GEM_BUG_ON 3794 drivers/gpu/drm/i915/gt/intel_lrc.c GEM_BUG_ON(RB_EMPTY_NODE(&ve->nodes[sibling->id].rb)); GEM_BUG_ON 409 drivers/gpu/drm/i915/gt/intel_mocs.c GEM_BUG_ON(!HAS_GLOBAL_MOCS_REGISTERS(gt->i915)); GEM_BUG_ON 125 drivers/gpu/drm/i915/gt/intel_reset.c GEM_BUG_ON(i915_request_completed(rq)); GEM_BUG_ON 302 drivers/gpu/drm/i915/gt/intel_reset.c GEM_BUG_ON(engine->id >= ARRAY_SIZE(hw_engine_mask)); GEM_BUG_ON 429 drivers/gpu/drm/i915/gt/intel_reset.c GEM_BUG_ON(engine->id >= ARRAY_SIZE(hw_engine_mask)); GEM_BUG_ON 597 drivers/gpu/drm/i915/gt/intel_reset.c GEM_BUG_ON(!HAS_GT_UC(gt->i915)); GEM_BUG_ON 639 drivers/gpu/drm/i915/gt/intel_reset.c GEM_BUG_ON(vma->fence != >->ggtt->fence_regs[i]); GEM_BUG_ON 930 drivers/gpu/drm/i915/gt/intel_reset.c GEM_BUG_ON(!test_bit(I915_RESET_BACKOFF, >->reset.flags)); GEM_BUG_ON 1035 drivers/gpu/drm/i915/gt/intel_reset.c GEM_BUG_ON(!test_bit(I915_RESET_ENGINE + engine->id, >->reset.flags)); GEM_BUG_ON 442 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(rq->timeline->hwsp_ggtt != rq->engine->status_page.vma); GEM_BUG_ON 443 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(offset_in_page(rq->timeline->hwsp_offset) != I915_GEM_HWS_SEQNO_ADDR); GEM_BUG_ON 462 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(rq->timeline->hwsp_ggtt != rq->engine->status_page.vma); GEM_BUG_ON 463 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(offset_in_page(rq->timeline->hwsp_offset) != I915_GEM_HWS_SEQNO_ADDR); GEM_BUG_ON 521 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 547 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(engine->id); GEM_BUG_ON 692 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!intel_ring_offset_valid(ring, ring->head)); GEM_BUG_ON 693 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!intel_ring_offset_valid(ring, ring->tail)); GEM_BUG_ON 837 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(rq->ring != engine->legacy.ring); GEM_BUG_ON 940 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(rq->timeline->hwsp_ggtt != rq->engine->status_page.vma); GEM_BUG_ON 941 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(offset_in_page(rq->timeline->hwsp_offset) != I915_GEM_HWS_SEQNO_ADDR); GEM_BUG_ON 963 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(rq->timeline->hwsp_ggtt != rq->engine->status_page.vma); GEM_BUG_ON 964 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(offset_in_page(rq->timeline->hwsp_offset) != I915_GEM_HWS_SEQNO_ADDR); GEM_BUG_ON 1114 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(rq->engine->gt->scratch->size < I830_WA_SIZE); GEM_BUG_ON 1223 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(ring->vaddr); GEM_BUG_ON 1260 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!ring->vaddr); GEM_BUG_ON 1305 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!is_power_of_2(size)); GEM_BUG_ON 1306 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(RING_CTL_SIZE(size) & ~RING_NR_PAGES); GEM_BUG_ON 1356 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(intel_context_is_pinned(ce)); GEM_BUG_ON 1475 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!engine->legacy.ring); GEM_BUG_ON 1479 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(ce->state); GEM_BUG_ON 1597 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(flags & MI_RESTORE_INHIBIT); GEM_BUG_ON 1752 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(HAS_EXECLISTS(rq->i915)); GEM_BUG_ON 1785 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(engine->id != RCS0); GEM_BUG_ON 1845 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!intel_context_is_pinned(request->hw_context)); GEM_BUG_ON 1846 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(request->timeline->has_initial_breadcrumb); GEM_BUG_ON 1879 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(list_empty(&tl->requests)); GEM_BUG_ON 1902 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(ring->space < bytes); GEM_BUG_ON 1916 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(num_dwords & 1); GEM_BUG_ON 1919 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(total_bytes > ring->effective_size); GEM_BUG_ON 1955 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!rq->reserved_space); GEM_BUG_ON 1964 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(need_wrap > ring->space); GEM_BUG_ON 1965 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(ring->emit + need_wrap > ring->size); GEM_BUG_ON 1966 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(!IS_ALIGNED(need_wrap, sizeof(u64))); GEM_BUG_ON 1974 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(ring->emit > ring->size - bytes); GEM_BUG_ON 1975 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(ring->space < bytes); GEM_BUG_ON 1995 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(num_dwords & 1); GEM_BUG_ON 2004 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(rq->ring->emit & (CACHELINE_BYTES - 1)); GEM_BUG_ON 2195 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(INTEL_GEN(i915) >= 8); GEM_BUG_ON 2302 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(INTEL_GEN(i915) < 7); GEM_BUG_ON 2348 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(timeline->has_initial_breadcrumb); GEM_BUG_ON 2364 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(engine->legacy.ring); GEM_BUG_ON 2372 drivers/gpu/drm/i915/gt/intel_ringbuffer.c GEM_BUG_ON(timeline->hwsp_ggtt != engine->status_page.vma); GEM_BUG_ON 100 drivers/gpu/drm/i915/gt/intel_sseu.c GEM_BUG_ON(subslices & 1); GEM_BUG_ON 123 drivers/gpu/drm/i915/gt/intel_sseu.c GEM_BUG_ON(val & ~mask); GEM_BUG_ON 134 drivers/gpu/drm/i915/gt/intel_sseu.c GEM_BUG_ON(val & ~GEN8_RPCS_SS_CNT_MASK); GEM_BUG_ON 144 drivers/gpu/drm/i915/gt/intel_sseu.c GEM_BUG_ON(val & ~GEN8_RPCS_EU_MIN_MASK); GEM_BUG_ON 150 drivers/gpu/drm/i915/gt/intel_sseu.c GEM_BUG_ON(val & ~GEN8_RPCS_EU_MAX_MASK); GEM_BUG_ON 91 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!hwsp->free_bitmap); GEM_BUG_ON 99 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(hwsp->vma->private != hwsp); GEM_BUG_ON 114 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(cacheline >= BITS_PER_TYPE(hwsp->free_bitmap)); GEM_BUG_ON 129 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!i915_active_is_idle(&cl->active)); GEM_BUG_ON 164 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(cacheline >= BIT(CACHELINE_BITS)); GEM_BUG_ON 200 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(ptr_test_bit(cl->vaddr, CACHELINE_FREE)); GEM_BUG_ON 251 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(timeline->hwsp_offset >= hwsp->size); GEM_BUG_ON 283 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(atomic_read(&timeline->pin_count)); GEM_BUG_ON 284 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!list_empty(&timeline->requests)); GEM_BUG_ON 344 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!atomic_read(&tl->pin_count)); GEM_BUG_ON 347 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!tl->active_count); /* overflow? */ GEM_BUG_ON 361 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!tl->active_count); GEM_BUG_ON 379 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!atomic_read(&tl->pin_count)); GEM_BUG_ON 380 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(tl->seqno & tl->has_initial_breadcrumb); GEM_BUG_ON 438 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(cl->hwsp->vma != vma); GEM_BUG_ON 468 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(i915_seqno_passed(*tl->hwsp_seqno, *seqno)); GEM_BUG_ON 507 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(to->timeline == tl); GEM_BUG_ON 529 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!atomic_read(&tl->pin_count)); GEM_BUG_ON 551 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!list_empty(&timelines->active_list)); GEM_BUG_ON 552 drivers/gpu/drm/i915/gt/intel_timeline.c GEM_BUG_ON(!list_empty(&timelines->hwsp_free_list)); GEM_BUG_ON 89 drivers/gpu/drm/i915/gt/intel_workarounds.c GEM_BUG_ON(!is_power_of_2(grow)); GEM_BUG_ON 138 drivers/gpu/drm/i915/gt/intel_workarounds.c GEM_BUG_ON(i915_mmio_reg_offset(wa_[0].reg) == GEM_BUG_ON 757 drivers/gpu/drm/i915/gt/intel_workarounds.c GEM_BUG_ON(INTEL_GEN(i915) < 10); GEM_BUG_ON 799 drivers/gpu/drm/i915/gt/intel_workarounds.c GEM_BUG_ON(slice >= ARRAY_SIZE(sseu->subslice_mask)); GEM_BUG_ON 42 drivers/gpu/drm/i915/gt/mock_engine.c GEM_BUG_ON(!atomic_read(&tl->pin_count)); GEM_BUG_ON 77 drivers/gpu/drm/i915/gt/mock_engine.c GEM_BUG_ON(!i915_request_completed(request)); GEM_BUG_ON 120 drivers/gpu/drm/i915/gt/mock_engine.c GEM_BUG_ON(intel_context_is_pinned(ce)); GEM_BUG_ON 137 drivers/gpu/drm/i915/gt/mock_engine.c GEM_BUG_ON(ce->timeline); GEM_BUG_ON 211 drivers/gpu/drm/i915/gt/mock_engine.c GEM_BUG_ON(stalled); GEM_BUG_ON 242 drivers/gpu/drm/i915/gt/mock_engine.c GEM_BUG_ON(id >= I915_NUM_ENGINES); GEM_BUG_ON 323 drivers/gpu/drm/i915/gt/mock_engine.c GEM_BUG_ON(timer_pending(&mock->hw_delay)); GEM_BUG_ON 27 drivers/gpu/drm/i915/gt/selftest_engine_pm.c GEM_BUG_ON(intel_gt_pm_is_awake(gt)); GEM_BUG_ON 46 drivers/gpu/drm/i915/gt/selftest_engine_pm.c GEM_BUG_ON(intel_engine_pm_is_awake(engine)); GEM_BUG_ON 65 drivers/gpu/drm/i915/gt/selftest_hangcheck.c GEM_BUG_ON(i915_gem_context_is_bannable(h->ctx)); GEM_BUG_ON 459 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(READ_ONCE(*map)); GEM_BUG_ON 811 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(rq_prio(rq_b) <= rq_prio(rq_a)); GEM_BUG_ON 928 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(i915_request_completed(rq_a)); GEM_BUG_ON 996 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(i915_request_completed(rq)); GEM_BUG_ON 1089 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(i915_request_completed(rq[0])); GEM_BUG_ON 1095 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(!i915_request_started(rq[0])); GEM_BUG_ON 1687 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(!nctx || nctx > ARRAY_SIZE(ctx)); GEM_BUG_ON 1994 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(nsibling >= ARRAY_SIZE(rq) - 1); GEM_BUG_ON 2144 drivers/gpu/drm/i915/gt/selftest_lrc.c GEM_BUG_ON(nsibling == ARRAY_SIZE(siblings)); GEM_BUG_ON 52 drivers/gpu/drm/i915/gt/selftest_reset.c GEM_BUG_ON(!intel_gt_is_wedged(gt)); GEM_BUG_ON 23 drivers/gpu/drm/i915/gt/selftest_timeline.c GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 727 drivers/gpu/drm/i915/gt/selftest_timeline.c GEM_BUG_ON(seqno[1] >= seqno[0]); GEM_BUG_ON 728 drivers/gpu/drm/i915/gt/selftest_timeline.c GEM_BUG_ON(hwsp_seqno[0] == hwsp_seqno[1]); GEM_BUG_ON 253 drivers/gpu/drm/i915/gt/selftest_workarounds.c GEM_BUG_ON(i915_gem_context_is_bannable(ctx)); GEM_BUG_ON 256 drivers/gpu/drm/i915/gt/selftest_workarounds.c GEM_BUG_ON(IS_ERR(ce)); GEM_BUG_ON 542 drivers/gpu/drm/i915/gt/selftest_workarounds.c GEM_BUG_ON(idx * sizeof(u32) > scratch->size); GEM_BUG_ON 593 drivers/gpu/drm/i915/gt/selftest_workarounds.c GEM_BUG_ON(values[ARRAY_SIZE(values) - 1] != 0xffffffff); GEM_BUG_ON 28 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(!guc->send_regs.base); GEM_BUG_ON 29 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(!guc->send_regs.count); GEM_BUG_ON 30 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(i >= guc->send_regs.count); GEM_BUG_ON 260 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(!guc->shared_data); GEM_BUG_ON 269 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(!guc->ads_vma); GEM_BUG_ON 353 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(!len); GEM_BUG_ON 354 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(len > guc->send_regs.count); GEM_BUG_ON 357 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(*action & ~INTEL_GUC_MSG_CODE_MASK); GEM_BUG_ON 360 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(*action != INTEL_GUC_ACTION_REGISTER_COMMAND_TRANSPORT_BUFFER && GEM_BUG_ON 523 drivers/gpu/drm/i915/gt/uc/intel_guc.c GEM_BUG_ON(!guc->execbuf_client); GEM_BUG_ON 130 drivers/gpu/drm/i915/gt/uc/intel_guc.h GEM_BUG_ON(offset < i915_ggtt_pin_bias(vma)); GEM_BUG_ON 131 drivers/gpu/drm/i915/gt/uc/intel_guc.h GEM_BUG_ON(range_overflows_t(u64, offset, vma->size, GUC_GGTT_TOP)); GEM_BUG_ON 142 drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c GEM_BUG_ON(guc->ads_vma); GEM_BUG_ON 133 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(ctch->vma); GEM_BUG_ON 176 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON((i != CTB_SEND) && (i != CTB_RECV)); GEM_BUG_ON 194 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(ctch->enabled); GEM_BUG_ON 206 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(!ctch->vma); GEM_BUG_ON 208 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(ctch->enabled); GEM_BUG_ON 217 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON((i != CTB_SEND) && (i != CTB_RECV)); GEM_BUG_ON 255 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(!ctch->enabled); GEM_BUG_ON 306 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(desc->size % 4); GEM_BUG_ON 307 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(desc->head % 4); GEM_BUG_ON 308 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(desc->tail % 4); GEM_BUG_ON 309 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(tail >= size); GEM_BUG_ON 352 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(desc->tail > desc->size); GEM_BUG_ON 458 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(!ctch->enabled); GEM_BUG_ON 459 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(!len); GEM_BUG_ON 460 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(len & ~GUC_CT_MSG_LEN_MASK); GEM_BUG_ON 461 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(!response_buf && response_buf_size); GEM_BUG_ON 564 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(desc->size % 4); GEM_BUG_ON 565 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(desc->head % 4); GEM_BUG_ON 566 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(desc->tail % 4); GEM_BUG_ON 567 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(tail >= size); GEM_BUG_ON 568 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(head >= size); GEM_BUG_ON 579 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(available < 0); GEM_BUG_ON 635 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(!ct_header_is_response(header)); GEM_BUG_ON 636 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(!in_irq()); GEM_BUG_ON 771 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(ct_header_is_response(header)); GEM_BUG_ON 848 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c GEM_BUG_ON(!ctch->vma); GEM_BUG_ON 66 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c GEM_BUG_ON(copied < sizeof(rsa)); GEM_BUG_ON 53 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GEM_BUG_ON(verbosity > GUC_LOG_VERBOSITY_MAX); GEM_BUG_ON 375 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GEM_BUG_ON(!log->vma); GEM_BUG_ON 399 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GEM_BUG_ON(guc_log_relay_chan->subbuf_size < subbuf_size); GEM_BUG_ON 447 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GEM_BUG_ON(i915_modparams.guc_log_level < GUC_LOG_LEVEL_DISABLED); GEM_BUG_ON 448 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GEM_BUG_ON(i915_modparams.guc_log_level > GUC_LOG_LEVEL_MAX); GEM_BUG_ON 459 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GEM_BUG_ON(log->vma); GEM_BUG_ON 517 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GEM_BUG_ON(!log->vma); GEM_BUG_ON 637 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c GEM_BUG_ON(!intel_guc_log_relay_enabled(log)); GEM_BUG_ON 92 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(client->doorbell_id != GUC_DOORBELL_INVALID); GEM_BUG_ON 128 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(!has_doorbell(client)); GEM_BUG_ON 190 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(db_id >= GUC_NUM_DOORBELLS); GEM_BUG_ON 245 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(!has_doorbell(client)); GEM_BUG_ON 413 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(desc->wq_status != WQ_STATUS_ACTIVE); GEM_BUG_ON 417 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(CIRC_SPACE(wq_off, READ_ONCE(desc->head), GEM_BUG_ON 419 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(wq_off & (wqi_size - 1)); GEM_BUG_ON 434 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(ring_tail > WQ_RING_TAIL_MAX); GEM_BUG_ON 460 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(db->db_status != GUC_DOORBELL_ENABLED); GEM_BUG_ON 762 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(db_id >= GUC_NUM_DOORBELLS); GEM_BUG_ON 897 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(guc->execbuf_client); GEM_BUG_ON 982 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(!guc->stage_desc_pool); GEM_BUG_ON 1112 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(engine->irq_enable || engine->irq_disable); GEM_BUG_ON 1139 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(!guc->execbuf_client); GEM_BUG_ON 1160 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c GEM_BUG_ON(gt->awake); /* GT should be parked first */ GEM_BUG_ON 52 drivers/gpu/drm/i915/gt/uc/intel_huc.c GEM_BUG_ON(huc->fw.rsa_size > PAGE_SIZE); GEM_BUG_ON 64 drivers/gpu/drm/i915/gt/uc/intel_huc.c GEM_BUG_ON(copied < huc->fw.rsa_size); GEM_BUG_ON 132 drivers/gpu/drm/i915/gt/uc/intel_huc.c GEM_BUG_ON(intel_huc_is_authenticated(huc)); GEM_BUG_ON 56 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(intel_uc_uses_guc(uc)); GEM_BUG_ON 57 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(intel_uc_uses_guc_submission(uc)); GEM_BUG_ON 58 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(intel_uc_uses_huc(uc)); GEM_BUG_ON 161 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(guc->handler == intel_guc_to_host_event_handler_nop); GEM_BUG_ON 198 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(guc_communication_enabled(guc)); GEM_BUG_ON 301 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(intel_uc_supports_guc_submission(uc)); GEM_BUG_ON 333 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(!intel_uc_supports_guc(uc)); GEM_BUG_ON 365 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(!intel_uc_supports_guc(uc)); GEM_BUG_ON 366 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(!(base & GUC_WOPCM_OFFSET_MASK)); GEM_BUG_ON 367 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(base & ~GUC_WOPCM_OFFSET_MASK); GEM_BUG_ON 368 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(!(size & GUC_WOPCM_SIZE_MASK)); GEM_BUG_ON 369 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(size & ~GUC_WOPCM_SIZE_MASK); GEM_BUG_ON 597 drivers/gpu/drm/i915/gt/uc/intel_uc.c GEM_BUG_ON(enable_communication == guc_communication_enabled(guc)); GEM_BUG_ON 17 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); GEM_BUG_ON 21 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(uc_fw->type != INTEL_UC_FW_TYPE_HUC); GEM_BUG_ON 199 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(uc_fw->status); GEM_BUG_ON 200 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(uc_fw->path); GEM_BUG_ON 269 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(!i915->wopcm.size); GEM_BUG_ON 270 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(!intel_uc_fw_is_enabled(uc_fw)); GEM_BUG_ON 403 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(!node->allocated); GEM_BUG_ON 404 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(upper_32_bits(node->start)); GEM_BUG_ON 405 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(upper_32_bits(node->start + node->size - 1)); GEM_BUG_ON 422 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(!i915_gem_object_has_pinned_pages(obj)); GEM_BUG_ON 423 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(dummy.node.size > ggtt->uc_fw.size); GEM_BUG_ON 456 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(upper_32_bits(offset) & 0xFFFF0000); GEM_BUG_ON 507 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(intel_uc_fw_is_loaded(uc_fw)); GEM_BUG_ON 539 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(intel_uc_fw_is_loaded(uc_fw)); GEM_BUG_ON 593 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c GEM_BUG_ON(!intel_uc_fw_is_available(uc_fw)); GEM_BUG_ON 168 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h GEM_BUG_ON(uc_fw->status == INTEL_UC_FIRMWARE_UNINITIALIZED); GEM_BUG_ON 118 drivers/gpu/drm/i915/gt/uc/selftest_guc.c GEM_BUG_ON(!HAS_GT_UC(dev_priv)); GEM_BUG_ON 150 drivers/gpu/drm/i915/gt/uc/selftest_guc.c GEM_BUG_ON(!guc->execbuf_client); GEM_BUG_ON 210 drivers/gpu/drm/i915/gt/uc/selftest_guc.c GEM_BUG_ON(!HAS_GT_UC(dev_priv)); GEM_BUG_ON 540 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(!gtt_type_is_entry(entry->type)); GEM_BUG_ON 543 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(entry->type == GTT_TYPE_INVALID); GEM_BUG_ON 555 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(mm->type != INTEL_GVT_MM_PPGTT); GEM_BUG_ON 604 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(mm->type != INTEL_GVT_MM_GGTT); GEM_BUG_ON 616 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(mm->type != INTEL_GVT_MM_GGTT); GEM_BUG_ON 627 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(mm->type != INTEL_GVT_MM_GGTT); GEM_BUG_ON 637 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(mm->type != INTEL_GVT_MM_GGTT); GEM_BUG_ON 947 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(!gtt_type_is_pt(get_next_pt_type(e->type))); GEM_BUG_ON 1031 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(1); GEM_BUG_ON 1071 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(!gtt_type_is_pt(get_next_pt_type(we->type))); GEM_BUG_ON 1225 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(index % GTT_64K_PTE_STRIDE); GEM_BUG_ON 1284 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(1); GEM_BUG_ON 1891 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(root_entry_type != GTT_TYPE_PPGTT_ROOT_L3_ENTRY && GEM_BUG_ON 2080 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(mm->type != INTEL_GVT_MM_GGTT && GEM_BUG_ON 2114 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(1); GEM_BUG_ON 2615 drivers/gpu/drm/i915/gvt/gtt.c GEM_BUG_ON(1); GEM_BUG_ON 51 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(!is_barrier(&node->base)); GEM_BUG_ON 64 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(!is_barrier(&node->base)); GEM_BUG_ON 147 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(i915_active_request_isset(&it->base)); GEM_BUG_ON 159 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(!atomic_read(&ref->count)); GEM_BUG_ON 205 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(i915_active_is_idle(ref)); GEM_BUG_ON 267 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(node->timeline != engine->kernel_context->timeline->fence_context); GEM_BUG_ON 340 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(!atomic_read(&ref->count)); GEM_BUG_ON 400 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(!test_bit(I915_ACTIVE_GRAB_BIT, &ref->flags)); GEM_BUG_ON 489 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(!RB_EMPTY_ROOT(&ref->tree)); GEM_BUG_ON 490 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(atomic_read(&ref->count)); GEM_BUG_ON 508 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(i915_active_is_idle(ref)); GEM_BUG_ON 593 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(!llist_empty(&ref->preallocated_barriers)); GEM_BUG_ON 638 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(barrier_to_engine(node) != engine); GEM_BUG_ON 661 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(i915_active_is_idle(ref)); GEM_BUG_ON 702 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(intel_engine_is_virtual(engine)); GEM_BUG_ON 703 drivers/gpu/drm/i915/i915_active.c GEM_BUG_ON(rq->timeline != engine->kernel_context->timeline); GEM_BUG_ON 112 drivers/gpu/drm/i915/i915_buddy.c GEM_BUG_ON(mm->max_order > I915_BUDDY_MAX_ORDER); GEM_BUG_ON 152 drivers/gpu/drm/i915/i915_buddy.c GEM_BUG_ON(i > mm->max_order); GEM_BUG_ON 153 drivers/gpu/drm/i915/i915_buddy.c GEM_BUG_ON(i915_buddy_block_size(mm, root) < chunk_size); GEM_BUG_ON 192 drivers/gpu/drm/i915/i915_buddy.c GEM_BUG_ON(!i915_buddy_block_is_free(block)); GEM_BUG_ON 193 drivers/gpu/drm/i915/i915_buddy.c GEM_BUG_ON(!i915_buddy_block_order(block)); GEM_BUG_ON 256 drivers/gpu/drm/i915/i915_buddy.c GEM_BUG_ON(!i915_buddy_block_is_allocated(block)); GEM_BUG_ON 295 drivers/gpu/drm/i915/i915_buddy.c GEM_BUG_ON(!i915_buddy_block_is_free(block)); GEM_BUG_ON 1895 drivers/gpu/drm/i915/i915_debugfs.c GEM_BUG_ON(!guc->execbuf_client); GEM_BUG_ON 2111 drivers/gpu/drm/i915/i915_drv.h GEM_BUG_ON((sizes) == 0); \ GEM_BUG_ON 359 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(!node.allocated); GEM_BUG_ON 569 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(!node.allocated); GEM_BUG_ON 885 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(i915_vma_has_userfault(reg->vma)); GEM_BUG_ON 1091 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(!obj->mm.quirked); GEM_BUG_ON 1096 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(obj->mm.quirked); GEM_BUG_ON 1278 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(!engine->kernel_context); GEM_BUG_ON 1334 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(intel_context_is_pinned(rq->hw_context)); GEM_BUG_ON 1452 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(ret == -EIO); GEM_BUG_ON 1459 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(ret == -EIO); GEM_BUG_ON 1465 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(ret == -EIO); GEM_BUG_ON 1471 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(ret == -EIO); GEM_BUG_ON 1477 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(ret == -EIO); GEM_BUG_ON 1607 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(dev_priv->gt.awake); GEM_BUG_ON 1682 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(!llist_empty(&dev_priv->mm.free_list)); GEM_BUG_ON 1683 drivers/gpu/drm/i915/i915_gem.c GEM_BUG_ON(atomic_read(&dev_priv->mm.free_count)); GEM_BUG_ON 51 drivers/gpu/drm/i915/i915_gem.h #define GEM_DEBUG_BUG_ON(expr) GEM_BUG_ON(expr) GEM_BUG_ON 273 drivers/gpu/drm/i915/i915_gem_evict.c GEM_BUG_ON(!IS_ALIGNED(start, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 274 drivers/gpu/drm/i915/i915_gem_evict.c GEM_BUG_ON(!IS_ALIGNED(end, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 295 drivers/gpu/drm/i915/i915_gem_evict.c GEM_BUG_ON(start >= end); GEM_BUG_ON 304 drivers/gpu/drm/i915/i915_gem_evict.c GEM_BUG_ON(!node->allocated); GEM_BUG_ON 84 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!i915_vma_is_map_and_fenceable(vma)); GEM_BUG_ON 85 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(vma->node.start, I965_FENCE_PAGE)); GEM_BUG_ON 86 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(vma->fence_size, I965_FENCE_PAGE)); GEM_BUG_ON 87 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(stride, 128)); GEM_BUG_ON 130 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!i915_vma_is_map_and_fenceable(vma)); GEM_BUG_ON 131 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(vma->node.start & ~I915_FENCE_START_MASK); GEM_BUG_ON 132 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!is_power_of_2(vma->fence_size)); GEM_BUG_ON 133 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(vma->node.start, vma->fence_size)); GEM_BUG_ON 139 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!is_power_of_2(stride)); GEM_BUG_ON 168 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!i915_vma_is_map_and_fenceable(vma)); GEM_BUG_ON 169 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(vma->node.start & ~I830_FENCE_START_MASK); GEM_BUG_ON 170 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!is_power_of_2(vma->fence_size)); GEM_BUG_ON 171 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!is_power_of_2(stride / 128)); GEM_BUG_ON 172 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!IS_ALIGNED(vma->node.start, vma->fence_size)); GEM_BUG_ON 253 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(old->fence != fence); GEM_BUG_ON 273 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(vma); GEM_BUG_ON 319 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(fence->vma && fence->vma->fence != fence); GEM_BUG_ON 344 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(fence->vma != vma); GEM_BUG_ON 355 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(atomic_read(&fence->pin_count)); GEM_BUG_ON 365 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(fence->vma != set); GEM_BUG_ON 366 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(vma->fence != (set ? fence : NULL)); GEM_BUG_ON 403 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!i915_vma_is_pinned(vma)); GEM_BUG_ON 404 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(!i915_vma_is_ggtt(vma)); GEM_BUG_ON 487 drivers/gpu/drm/i915/i915_gem_fence_reg.c GEM_BUG_ON(vma && vma->fence != reg); GEM_BUG_ON 176 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(vma->pages); GEM_BUG_ON 187 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!vma->pages); GEM_BUG_ON 432 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!pagevec_count(pvec)); GEM_BUG_ON 481 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(pagevec_count(&vm->free_pages.pvec) >= PAGEVEC_SIZE); GEM_BUG_ON 491 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(pagevec_count(&vm->free_pages.pvec)); GEM_BUG_ON 524 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!list_empty(&vm->bound_list)); GEM_BUG_ON 525 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!list_empty(&vm->unbound_list)); GEM_BUG_ON 538 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(i915_is_ggtt(vm)); GEM_BUG_ON 559 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!vm->total); GEM_BUG_ON 776 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(atomic_read(px_used(pd)) > 2 * ARRAY_SIZE(pd->entry)); GEM_BUG_ON 791 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(atomic_read(px_used(pd)) == 0); GEM_BUG_ON 884 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(start >= end); GEM_BUG_ON 898 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(start >= end); GEM_BUG_ON 904 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(start >= end); GEM_BUG_ON 970 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(end > vm->total >> GEN8_PTE_SHIFT); GEM_BUG_ON 976 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!len || len >= atomic_read(px_used(pd))); GEM_BUG_ON 1003 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!count || count >= atomic_read(&pt->used)); GEM_BUG_ON 1025 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(start, BIT_ULL(GEN8_PTE_SHIFT))); GEM_BUG_ON 1026 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(length, BIT_ULL(GEN8_PTE_SHIFT))); GEM_BUG_ON 1027 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(range_overflows(start, length, vm->total)); GEM_BUG_ON 1031 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(length == 0); GEM_BUG_ON 1046 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(end > vm->total >> GEN8_PTE_SHIFT); GEM_BUG_ON 1052 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!len || (idx + len - 1) >> gen8_pd_shift(1)); GEM_BUG_ON 1055 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!atomic_read(px_used(pd))); /* Must be pinned! */ GEM_BUG_ON 1111 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!atomic_read(&pt->used)); GEM_BUG_ON 1122 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(atomic_read(&pt->used) > 2 * I915_PDES); GEM_BUG_ON 1139 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(start, BIT_ULL(GEN8_PTE_SHIFT))); GEM_BUG_ON 1140 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(length, BIT_ULL(GEN8_PTE_SHIFT))); GEM_BUG_ON 1141 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(range_overflows(start, length, vm->total)); GEM_BUG_ON 1145 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(length == 0); GEM_BUG_ON 1181 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(iter->sg->length < I915_GTT_PAGE_SIZE); GEM_BUG_ON 1223 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!i915_vm_is_4lvl(vma->vm)); GEM_BUG_ON 1263 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(iter->sg->length < page_size); GEM_BUG_ON 1373 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!clone->has_read_only); GEM_BUG_ON 1412 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(vm->top != 2); GEM_BUG_ON 1413 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(gen8_pd_top_count(vm) != GEN8_3LVL_PDPES); GEM_BUG_ON 1453 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(count > ARRAY_SIZE(pd->entry)); GEM_BUG_ON 1620 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(px_base(pt) == px_base(&vm->scratch[1])); GEM_BUG_ON 1624 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(count > atomic_read(&pt->used)); GEM_BUG_ON 1657 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(pd->entry[act_pt] == &vm->scratch[1]); GEM_BUG_ON 1661 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(iter.sg->length < I915_GTT_PAGE_SIZE); GEM_BUG_ON 1811 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!vma->pages); GEM_BUG_ON 1875 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 1876 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(size > ggtt->vm.total); GEM_BUG_ON 1908 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(ppgtt->base.vm.closed); GEM_BUG_ON 1941 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!ppgtt->pin_count); GEM_BUG_ON 2160 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(obj->mm.pages == pages); GEM_BUG_ON 2549 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(vma->pages); GEM_BUG_ON 2604 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(ggtt->vm.vma_ops.bind_vma != ggtt_bind_vma); GEM_BUG_ON 2607 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(ggtt->vm.vma_ops.unbind_vma != ggtt_unbind_vma); GEM_BUG_ON 2645 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(ggtt->vm.total <= GUC_GGTT_TOP); GEM_BUG_ON 2969 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(INTEL_GEN(dev_priv) < 8); GEM_BUG_ON 3281 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(ggtt->invalidate != gen6_ggtt_invalidate); GEM_BUG_ON 3295 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(ggtt->invalidate != guc_ggtt_invalidate); GEM_BUG_ON 3527 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!iter); GEM_BUG_ON 3571 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!i915_gem_object_has_pinned_pages(vma->obj)); GEM_BUG_ON 3575 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(vma->ggtt_view.type); GEM_BUG_ON 3638 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!size); GEM_BUG_ON 3639 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 3640 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(offset, I915_GTT_MIN_ALIGNMENT)); GEM_BUG_ON 3641 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(range_overflows(offset, size, vm->total)); GEM_BUG_ON 3642 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(vm == &vm->i915->ggtt.alias->vm); GEM_BUG_ON 3643 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(drm_mm_node_allocated(node)); GEM_BUG_ON 3667 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(range_overflows(start, len, end)); GEM_BUG_ON 3668 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(round_up(start, align) > round_down(end - len, align)); GEM_BUG_ON 3732 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!size); GEM_BUG_ON 3733 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 3734 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(alignment && !is_power_of_2(alignment)); GEM_BUG_ON 3735 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(alignment && !IS_ALIGNED(alignment, I915_GTT_MIN_ALIGNMENT)); GEM_BUG_ON 3736 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(start >= end); GEM_BUG_ON 3737 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(start > 0 && !IS_ALIGNED(start, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 3738 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(end < U64_MAX && !IS_ALIGNED(end, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 3739 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(vm == &vm->i915->ggtt.alias->vm); GEM_BUG_ON 3740 drivers/gpu/drm/i915/i915_gem_gtt.c GEM_BUG_ON(drm_mm_node_allocated(node)); GEM_BUG_ON 485 drivers/gpu/drm/i915/i915_gem_gtt.h GEM_BUG_ON(length == 0); GEM_BUG_ON 486 drivers/gpu/drm/i915/i915_gem_gtt.h GEM_BUG_ON(offset_in_page(addr | length)); GEM_BUG_ON 542 drivers/gpu/drm/i915/i915_gem_gtt.h GEM_BUG_ON(!i915_is_ggtt(vm)); GEM_BUG_ON 550 drivers/gpu/drm/i915/i915_gem_gtt.h GEM_BUG_ON(i915_is_ggtt(vm)); GEM_BUG_ON 49 drivers/gpu/drm/i915/i915_globals.c GEM_BUG_ON(!global->shrink); GEM_BUG_ON 50 drivers/gpu/drm/i915/i915_globals.c GEM_BUG_ON(!global->exit); GEM_BUG_ON 134 drivers/gpu/drm/i915/i915_gpu_error.c GEM_BUG_ON(e->bytes >= e->size); GEM_BUG_ON 154 drivers/gpu/drm/i915/i915_gpu_error.c GEM_BUG_ON(e->bytes + len > e->size); GEM_BUG_ON 812 drivers/gpu/drm/i915/i915_gpu_error.c GEM_BUG_ON(m.end < m.cur); GEM_BUG_ON 815 drivers/gpu/drm/i915/i915_gpu_error.c GEM_BUG_ON(m.sgl && !m.cur); GEM_BUG_ON 856 drivers/gpu/drm/i915/i915_gpu_error.c GEM_BUG_ON(sg_is_chain(sg)); GEM_BUG_ON 867 drivers/gpu/drm/i915/i915_gpu_error.c GEM_BUG_ON(off - pos > len); GEM_BUG_ON 874 drivers/gpu/drm/i915/i915_gpu_error.c GEM_BUG_ON(!len || len > sg->length); GEM_BUG_ON 67 drivers/gpu/drm/i915/i915_mm.c GEM_BUG_ON((vma->vm_flags & EXPECTED_FLAGS) != EXPECTED_FLAGS); GEM_BUG_ON 1748 drivers/gpu/drm/i915/i915_perf.c GEM_BUG_ON(!count || count > 63); GEM_BUG_ON 1811 drivers/gpu/drm/i915/i915_perf.c GEM_BUG_ON(ce == ce->engine->kernel_context); GEM_BUG_ON 3233 drivers/gpu/drm/i915/i915_perf.c GEM_BUG_ON(!is_valid); GEM_BUG_ON 3493 drivers/gpu/drm/i915/i915_perf.c GEM_BUG_ON(*arg != oa_config->id); GEM_BUG_ON 604 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(bit >= ARRAY_SIZE(pmu->enable_count)); GEM_BUG_ON 605 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(pmu->enable_count[bit] == ~0); GEM_BUG_ON 630 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(sample >= ARRAY_SIZE(engine->pmu.enable_count)); GEM_BUG_ON 631 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(sample >= ARRAY_SIZE(engine->pmu.sample)); GEM_BUG_ON 632 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(engine->pmu.enable_count[sample] == ~0); GEM_BUG_ON 666 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(sample >= ARRAY_SIZE(engine->pmu.enable_count)); GEM_BUG_ON 667 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(sample >= ARRAY_SIZE(engine->pmu.sample)); GEM_BUG_ON 668 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(engine->pmu.enable_count[sample] == 0); GEM_BUG_ON 678 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(bit >= ARRAY_SIZE(pmu->enable_count)); GEM_BUG_ON 679 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(pmu->enable_count[bit] == 0); GEM_BUG_ON 990 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(!pmu->base.event_init); GEM_BUG_ON 1004 drivers/gpu/drm/i915/i915_pmu.c GEM_BUG_ON(!pmu->base.event_init); GEM_BUG_ON 231 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!i915_sw_fence_signaled(&rq->submit)); GEM_BUG_ON 243 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!list_is_first(&rq->link, &rq->timeline->requests)); GEM_BUG_ON 292 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!atomic_read(&rq->i915->gt_pm.rps.num_waiters)); GEM_BUG_ON 299 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!list_empty(&rq->execute_cb)); GEM_BUG_ON 328 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!i915_request_completed(rq)); GEM_BUG_ON 390 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!irqs_disabled()); GEM_BUG_ON 482 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!irqs_disabled()); GEM_BUG_ON 496 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!test_bit(I915_FENCE_FLAG_ACTIVE, &request->fence.flags)); GEM_BUG_ON 756 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!list_empty(&rq->active_list)); GEM_BUG_ON 757 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!list_empty(&rq->sched.signalers_list)); GEM_BUG_ON 758 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!list_empty(&rq->sched.waiters_list)); GEM_BUG_ON 840 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!from->timeline->has_initial_breadcrumb); GEM_BUG_ON 841 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(INTEL_GEN(to->i915) < 8); GEM_BUG_ON 894 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(to == from); GEM_BUG_ON 895 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(to->timeline == from->timeline); GEM_BUG_ON 954 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!nchild); GEM_BUG_ON 1009 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!nchild); GEM_BUG_ON 1105 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!IS_ERR_VALUE((long)error)); GEM_BUG_ON 1176 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(timeline->seqno != rq->fence.seqno); GEM_BUG_ON 1201 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(rq->reserved_space > ring->space); GEM_BUG_ON 1212 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(IS_ERR(cs)); GEM_BUG_ON 1418 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(timeout < 0); GEM_BUG_ON 1530 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(!tl->active_count); GEM_BUG_ON 1547 drivers/gpu/drm/i915/i915_request.c GEM_BUG_ON(tl->active_count); GEM_BUG_ON 263 drivers/gpu/drm/i915/i915_request.h GEM_BUG_ON(fence && !dma_fence_is_i915(fence)); GEM_BUG_ON 29 drivers/gpu/drm/i915/i915_scatterlist.c GEM_BUG_ON(new_sg); /* Should walk exactly nents and hit the end */ GEM_BUG_ON 101 drivers/gpu/drm/i915/i915_scatterlist.h GEM_BUG_ON(sg->offset); GEM_BUG_ON 102 drivers/gpu/drm/i915/i915_scatterlist.h GEM_BUG_ON(!IS_ALIGNED(sg->length, PAGE_SIZE)); GEM_BUG_ON 51 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(rb_first_cached(&execlists->queue) != GEM_BUG_ON 58 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(p->priority >= last_prio); GEM_BUG_ON 61 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(!p->used); GEM_BUG_ON 66 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(!(p->used & BIT(i))); GEM_BUG_ON 156 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(!locked); GEM_BUG_ON 171 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(locked != engine); GEM_BUG_ON 242 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(prio == I915_PRIORITY_INVALID); GEM_BUG_ON 285 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(p == dep); /* no cycles! */ GEM_BUG_ON 302 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(!list_empty(&node->link)); GEM_BUG_ON 328 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(node_to_request(node)->engine != engine); GEM_BUG_ON 379 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(bump & ~I915_PRIORITY_MASK); GEM_BUG_ON 482 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(!node_signaled(dep->signaler)); GEM_BUG_ON 483 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(!list_empty(&dep->dfs_link)); GEM_BUG_ON 492 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(dep->signaler != node); GEM_BUG_ON 493 drivers/gpu/drm/i915/i915_scheduler.c GEM_BUG_ON(!list_empty(&dep->dfs_link)); GEM_BUG_ON 101 drivers/gpu/drm/i915/i915_syncmap.c GEM_BUG_ON(p->height); GEM_BUG_ON 107 drivers/gpu/drm/i915/i915_syncmap.c GEM_BUG_ON(!p->height); GEM_BUG_ON 120 drivers/gpu/drm/i915/i915_syncmap.c GEM_BUG_ON(p->height); GEM_BUG_ON 131 drivers/gpu/drm/i915/i915_syncmap.c GEM_BUG_ON(p->height); GEM_BUG_ON 244 drivers/gpu/drm/i915/i915_syncmap.c GEM_BUG_ON(__sync_leaf_prefix(p, id) == p->prefix); GEM_BUG_ON 300 drivers/gpu/drm/i915/i915_syncmap.c GEM_BUG_ON(!(p->parent->bitmap & BIT(idx))); GEM_BUG_ON 317 drivers/gpu/drm/i915/i915_syncmap.c GEM_BUG_ON(!p->height); GEM_BUG_ON 334 drivers/gpu/drm/i915/i915_syncmap.c GEM_BUG_ON(p->prefix != __sync_leaf_prefix(p, id)); GEM_BUG_ON 160 drivers/gpu/drm/i915/i915_utils.h GEM_BUG_ON(__bits & -BIT(n)); \ GEM_BUG_ON 107 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vm == &vm->i915->ggtt.alias->vm); GEM_BUG_ON 135 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(range_overflows_t(u64, GEM_BUG_ON 141 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->size > obj->base.size); GEM_BUG_ON 154 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(vma->size, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 167 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(vma->fence_size, I915_GTT_MIN_ALIGNMENT)); GEM_BUG_ON 172 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!is_power_of_2(vma->fence_alignment)); GEM_BUG_ON 279 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(view && !i915_is_ggtt(vm)); GEM_BUG_ON 280 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vm->closed); GEM_BUG_ON 290 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ERR(vma) && i915_vma_compare(vma, vm, view)); GEM_BUG_ON 311 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 312 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->size > vma->node.size); GEM_BUG_ON 336 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!vma->pages); GEM_BUG_ON 361 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!i915_vma_is_ggtt(vma)); GEM_BUG_ON 362 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON((vma->flags & I915_VMA_GLOBAL_BIND) == 0); GEM_BUG_ON 406 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->iomap == NULL); GEM_BUG_ON 424 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!obj); GEM_BUG_ON 444 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(alignment && !is_power_of_2(alignment)); GEM_BUG_ON 466 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!i915_vma_is_ggtt(vma)); GEM_BUG_ON 467 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!vma->fence_size); GEM_BUG_ON 501 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!drm_mm_node_allocated(node)); GEM_BUG_ON 502 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(list_empty(&node->node_list)); GEM_BUG_ON 524 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(atomic_read(&obj->mm.pages_pin_count) < atomic_read(&obj->bind_count)); GEM_BUG_ON 549 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_is_closed(vma)); GEM_BUG_ON 550 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->flags & (I915_VMA_GLOBAL_BIND | I915_VMA_LOCAL_BIND)); GEM_BUG_ON 551 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 561 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 562 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(alignment, I915_GTT_MIN_ALIGNMENT)); GEM_BUG_ON 563 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!is_power_of_2(alignment)); GEM_BUG_ON 566 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(start, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 573 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!IS_ALIGNED(end, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 596 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->pages); GEM_BUG_ON 641 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_is_ggtt(vma)); GEM_BUG_ON 655 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->node.start < start); GEM_BUG_ON 656 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->node.start + vma->node.size > end); GEM_BUG_ON 658 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 659 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!i915_gem_valid_gtt_space(vma, cache_level)); GEM_BUG_ON 683 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 684 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->flags & (I915_VMA_GLOBAL_BIND | I915_VMA_LOCAL_BIND)); GEM_BUG_ON 719 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON((flags & (PIN_GLOBAL | PIN_USER)) == 0); GEM_BUG_ON 720 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON((flags & PIN_GLOBAL) && !i915_vma_is_ggtt(vma)); GEM_BUG_ON 732 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 738 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON((vma->flags & I915_VMA_BIND_MASK) == 0); GEM_BUG_ON 743 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_misplaced(vma, size, alignment, flags)); GEM_BUG_ON 749 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->pages); GEM_BUG_ON 750 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->flags & I915_VMA_BIND_MASK); GEM_BUG_ON 762 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_is_closed(vma)); GEM_BUG_ON 800 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->node.allocated); GEM_BUG_ON 801 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->fence); GEM_BUG_ON 825 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_is_pinned(vma)); GEM_BUG_ON 830 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_is_active(vma)); GEM_BUG_ON 853 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_is_pinned(vma)); GEM_BUG_ON 872 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!i915_vma_is_map_and_fenceable(vma)); GEM_BUG_ON 873 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!vma->obj->userfault_count); GEM_BUG_ON 895 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 929 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(!i915_vma_is_active(vma)); GEM_BUG_ON 964 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_is_active(vma)); GEM_BUG_ON 982 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_has_ggtt_write(vma)); GEM_BUG_ON 999 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(vma->fence); GEM_BUG_ON 1000 drivers/gpu/drm/i915/i915_vma.c GEM_BUG_ON(i915_vma_has_userfault(vma)); GEM_BUG_ON 177 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(!i915_vma_is_ggtt(vma)); GEM_BUG_ON 195 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(!i915_vma_is_map_and_fenceable(vma)); GEM_BUG_ON 216 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(!i915_vma_is_ggtt(vma)); GEM_BUG_ON 217 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(!vma->node.allocated); GEM_BUG_ON 218 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(upper_32_bits(vma->node.start)); GEM_BUG_ON 219 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(upper_32_bits(vma->node.start + vma->node.size - 1)); GEM_BUG_ON 259 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(view && !i915_is_ggtt(vm)); GEM_BUG_ON 334 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 335 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(i915_vma_misplaced(vma, size, alignment, flags)); GEM_BUG_ON 355 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(vma->flags & I915_VMA_PIN_OVERFLOW); GEM_BUG_ON 365 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(!i915_vma_is_pinned(vma)); GEM_BUG_ON 366 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 405 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(!vma->pages); GEM_BUG_ON 429 drivers/gpu/drm/i915/i915_vma.h GEM_BUG_ON(atomic_read(&vma->fence->pin_count) <= 0); GEM_BUG_ON 838 drivers/gpu/drm/i915/intel_device_info.c GEM_BUG_ON(mask & ~INTEL_SUBPLATFORM_BITS); GEM_BUG_ON 1032 drivers/gpu/drm/i915/intel_device_info.c GEM_BUG_ON(vdbox_mask != VDBOX_MASK(dev_priv)); GEM_BUG_ON 1045 drivers/gpu/drm/i915/intel_device_info.c GEM_BUG_ON(vebox_mask != VEBOX_MASK(dev_priv)); GEM_BUG_ON 6695 drivers/gpu/drm/i915/intel_pm.c GEM_BUG_ON(!rps->power.interactive); GEM_BUG_ON 6910 drivers/gpu/drm/i915/intel_pm.c GEM_BUG_ON(val > rps->max_freq); GEM_BUG_ON 6911 drivers/gpu/drm/i915/intel_pm.c GEM_BUG_ON(val < rps->min_freq); GEM_BUG_ON 7698 drivers/gpu/drm/i915/intel_pm.c GEM_BUG_ON(paddr > U32_MAX); GEM_BUG_ON 7743 drivers/gpu/drm/i915/intel_pm.c GEM_BUG_ON(range_overflows_t(u64, GEM_BUG_ON 107 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(d->uncore->fw_domains_timer & d->mask); GEM_BUG_ON 248 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(fw_domains & ~uncore->fw_domains); GEM_BUG_ON 268 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(fw_domains & ~uncore->fw_domains); GEM_BUG_ON 287 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(fw_domains & ~uncore->fw_domains); GEM_BUG_ON 305 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(fw_domains & ~uncore->fw_domains); GEM_BUG_ON 387 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(!domain->wake_count); GEM_BUG_ON 525 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(!intel_uncore_has_forcewake(uncore)); GEM_BUG_ON 703 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(!domain->wake_count); GEM_BUG_ON 1187 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(fw_domains & ~uncore->fw_domains); GEM_BUG_ON 1198 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(!fw_domains); GEM_BUG_ON 1364 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(domain_id >= FW_DOMAIN_ID_COUNT); GEM_BUG_ON 1365 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(uncore->fw_domain[domain_id]); GEM_BUG_ON 1413 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(domain_id >= FW_DOMAIN_ID_COUNT); GEM_BUG_ON 1439 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(!intel_uncore_has_forcewake(uncore)); GEM_BUG_ON 1648 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(intel_uncore_has_forcewake(uncore)); GEM_BUG_ON 1664 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(!intel_uncore_has_forcewake(uncore)); GEM_BUG_ON 1726 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(intel_uncore_has_forcewake(uncore) != !!uncore->funcs.force_wake_get); GEM_BUG_ON 1727 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(intel_uncore_has_forcewake(uncore) != !!uncore->funcs.force_wake_put); GEM_BUG_ON 1728 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(intel_uncore_has_forcewake(uncore) != !!uncore->funcs.read_fw_domains); GEM_BUG_ON 1729 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(intel_uncore_has_forcewake(uncore) != !!uncore->funcs.write_fw_domains); GEM_BUG_ON 1831 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(!is_power_of_2(entry->size)); GEM_BUG_ON 1832 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(entry->size > 8); GEM_BUG_ON 1833 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(entry_offset & (entry->size - 1)); GEM_BUG_ON 1910 drivers/gpu/drm/i915/intel_uncore.c GEM_BUG_ON(fast_timeout_us > 20000); GEM_BUG_ON 234 drivers/gpu/drm/i915/intel_wopcm.c GEM_BUG_ON(!wopcm->size); GEM_BUG_ON 235 drivers/gpu/drm/i915/intel_wopcm.c GEM_BUG_ON(wopcm->guc.base); GEM_BUG_ON 236 drivers/gpu/drm/i915/intel_wopcm.c GEM_BUG_ON(wopcm->guc.size); GEM_BUG_ON 237 drivers/gpu/drm/i915/intel_wopcm.c GEM_BUG_ON(guc_fw_size >= wopcm->size); GEM_BUG_ON 238 drivers/gpu/drm/i915/intel_wopcm.c GEM_BUG_ON(huc_fw_size >= wopcm->size); GEM_BUG_ON 239 drivers/gpu/drm/i915/intel_wopcm.c GEM_BUG_ON(ctx_rsvd + WOPCM_RESERVED_SIZE >= wopcm->size); GEM_BUG_ON 277 drivers/gpu/drm/i915/intel_wopcm.c GEM_BUG_ON(!wopcm->guc.base); GEM_BUG_ON 278 drivers/gpu/drm/i915/intel_wopcm.c GEM_BUG_ON(!wopcm->guc.size); GEM_BUG_ON 408 drivers/gpu/drm/i915/selftests/i915_buddy.c GEM_BUG_ON(mm.max_order != max_order); GEM_BUG_ON 501 drivers/gpu/drm/i915/selftests/i915_buddy.c GEM_BUG_ON(mm.max_order != max_order); GEM_BUG_ON 552 drivers/gpu/drm/i915/selftests/i915_buddy.c GEM_BUG_ON(mm.max_order != max_order); GEM_BUG_ON 41 drivers/gpu/drm/i915/selftests/i915_gem_evict.c GEM_BUG_ON(obj->mm.quirked); GEM_BUG_ON 78 drivers/gpu/drm/i915/selftests/i915_gem_evict.c GEM_BUG_ON(!obj->mm.quirked); GEM_BUG_ON 85 drivers/gpu/drm/i915/selftests/i915_gem_evict.c GEM_BUG_ON(bound + unbound != count); GEM_BUG_ON 125 drivers/gpu/drm/i915/selftests/i915_gem_evict.c GEM_BUG_ON(!obj->mm.quirked); GEM_BUG_ON 81 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!len); GEM_BUG_ON 89 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(rem); GEM_BUG_ON 118 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!size); GEM_BUG_ON 119 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!IS_ALIGNED(size, I915_GTT_PAGE_SIZE)); GEM_BUG_ON 250 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!order); GEM_BUG_ON 252 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(count * BIT_ULL(size) > vm->total); GEM_BUG_ON 253 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(hole_start + count * BIT_ULL(size) > hole_end); GEM_BUG_ON 267 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(obj->base.size != BIT_ULL(size)); GEM_BUG_ON 279 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); GEM_BUG_ON 306 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(addr + BIT_ULL(size) > vm->total); GEM_BUG_ON 614 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 695 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(err); GEM_BUG_ON 752 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!order); GEM_BUG_ON 772 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(vma->size != BIT_ULL(size)); GEM_BUG_ON 799 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(err); GEM_BUG_ON 856 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(vma->size != size); GEM_BUG_ON 1017 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(offset_in_page(ppgtt->vm.total)); GEM_BUG_ON 1018 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(ppgtt->vm.closed); GEM_BUG_ON 1345 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 1395 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 1439 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 1557 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 1589 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 1609 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 1656 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(!drm_mm_node_allocated(&vma->node)); GEM_BUG_ON 1725 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c GEM_BUG_ON(offset_in_page(i915->ggtt.vm.total)); GEM_BUG_ON 203 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(IS_ERR(ce)); GEM_BUG_ON 216 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(IS_ERR(ce)); GEM_BUG_ON 343 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(IS_ERR(ce)); GEM_BUG_ON 390 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(!i915_request_completed(rq)); GEM_BUG_ON 875 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(err); GEM_BUG_ON 883 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(err); GEM_BUG_ON 916 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(!i915_request_completed(request[id])); GEM_BUG_ON 993 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(err); GEM_BUG_ON 1001 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(err); GEM_BUG_ON 1035 drivers/gpu/drm/i915/selftests/i915_request.c GEM_BUG_ON(!i915_request_completed(request[id])); GEM_BUG_ON 315 drivers/gpu/drm/i915/selftests/i915_vma.c GEM_BUG_ON(!drm_mm_clean(&ggtt->vm.mm)); GEM_BUG_ON 520 drivers/gpu/drm/i915/selftests/i915_vma.c GEM_BUG_ON(max_offset > max_pages); GEM_BUG_ON 909 drivers/gpu/drm/i915/selftests/i915_vma.c GEM_BUG_ON(vma->ggtt_view.type != *t); GEM_BUG_ON 940 drivers/gpu/drm/i915/selftests/i915_vma.c GEM_BUG_ON(vma->ggtt_view.type != I915_GGTT_VIEW_NORMAL); GEM_BUG_ON 18 drivers/gpu/drm/i915/selftests/igt_spinner.c GEM_BUG_ON(INTEL_GEN(gt->i915) < 8); GEM_BUG_ON 101 drivers/gpu/drm/i915/selftests/igt_spinner.c GEM_BUG_ON(spin->gt != ce->vm->gt); GEM_BUG_ON 150 drivers/gpu/drm/i915/selftests/intel_uncore.c GEM_BUG_ON(i915->gt.awake); GEM_BUG_ON 45 drivers/gpu/drm/i915/selftests/mock_gtt.c GEM_BUG_ON(flags & I915_VMA_GLOBAL_BIND); GEM_BUG_ON 228 drivers/gpu/drm/i915/selftests/scatterlist.c GEM_BUG_ON(overflows_type(count * PAGE_SIZE, sg->length)); GEM_BUG_ON 252 drivers/gpu/drm/i915/selftests/scatterlist.c GEM_BUG_ON(page_to_pfn(sg_page(sg)) != pfn); GEM_BUG_ON 253 drivers/gpu/drm/i915/selftests/scatterlist.c GEM_BUG_ON(sg->length != npages * PAGE_SIZE); GEM_BUG_ON 254 drivers/gpu/drm/i915/selftests/scatterlist.c GEM_BUG_ON(sg->offset != 0);