Home
last modified time | relevance | path

Searched refs:GEM_WARN_ON (Results 1 – 25 of 45) sorted by relevance

12

/drivers/gpu/drm/msm/
Dmsm_gem_vma.c65 GEM_WARN_ON(msm_gem_vma_inuse(vma)); in msm_gem_purge_vma()
80 if (GEM_WARN_ON(!vma->inuse)) in msm_gem_unpin_vma()
82 if (!GEM_WARN_ON(!vma->iova)) in msm_gem_unpin_vma()
103 if (GEM_WARN_ON(!vma->iova)) in msm_gem_map_vma()
130 GEM_WARN_ON(msm_gem_vma_inuse(vma) || vma->mapped); in msm_gem_close_vma()
149 if (GEM_WARN_ON(vma->iova)) in msm_gem_init_vma()
Dmsm_gem.c188 if (GEM_WARN_ON(msm_obj->madv != MSM_MADV_WILLNEED)) { in msm_gem_pin_pages_locked()
247 if (GEM_WARN_ON(msm_obj->madv != MSM_MADV_WILLNEED)) { in msm_gem_fault()
409 GEM_WARN_ON(vma->iova < range_start); in get_vma_locked()
410 GEM_WARN_ON((vma->iova + obj->size) > range_end); in get_vma_locked()
433 if (GEM_WARN_ON(msm_obj->madv != MSM_MADV_WILLNEED)) in msm_gem_pin_vma_locked()
454 GEM_WARN_ON(msm_obj->pin_count < 0); in msm_gem_unpin_locked()
569 } else if (GEM_WARN_ON(vma->iova != iova)) { in msm_gem_set_iova()
591 if (!GEM_WARN_ON(!vma)) { in msm_gem_unpin_iova()
638 if (GEM_WARN_ON(msm_obj->madv > madv)) { in get_vaddr()
707 GEM_WARN_ON(msm_obj->vmap_count < 1); in msm_gem_put_vaddr_locked()
[all …]
Dmsm_gem.h18 #define GEM_WARN_ON(x) WARN_RATELIMIT(x, "%s", __stringify(x)) macro
/drivers/gpu/drm/i915/
Di915_gem.h97 #define GEM_WARN_ON(expr) WARN_ON(expr) macro
99 #define GEM_DEBUG_WARN_ON(expr) GEM_WARN_ON(expr)
106 #define GEM_WARN_ON(expr) ({ unlikely(!!(expr)); }) macro
Di915_mm.c55 if (GEM_WARN_ON(!r->sgt.sgp)) in remap_sg()
Dintel_region_ttm.c144 GEM_WARN_ON(ret); in intel_region_ttm_fini()
/drivers/gpu/drm/i915/gem/
Di915_gem_region.c124 if (GEM_WARN_ON(!IS_ALIGNED(size, mem->min_page_size)) || in i915_gem_object_create_region_at()
125 GEM_WARN_ON(!IS_ALIGNED(offset, mem->min_page_size))) in i915_gem_object_create_region_at()
166 GEM_WARN_ON(apply->ww); in i915_gem_process_region()
Di915_gem_pm.c220 GEM_WARN_ON(ret); in i915_gem_resume()
230 GEM_WARN_ON(ret); in i915_gem_resume()
Di915_gem_ttm_pm.c141 GEM_WARN_ON(ret); in i915_ttm_recover_region()
194 GEM_WARN_ON(err); in i915_ttm_restore()
Di915_gem_ttm.c260 GEM_WARN_ON(st->sgl); in i915_ttm_tt_release()
579 GEM_WARN_ON(!i915_ttm_cpu_maps_iomem(res)); in i915_ttm_resource_get_st()
626 GEM_WARN_ON(ret); in i915_ttm_swap_notify()
627 GEM_WARN_ON(obj->ttm.cached_io_rsgt); in i915_ttm_swap_notify()
689 GEM_WARN_ON(bo->ttm); in i915_ttm_io_mem_pfn()
Di915_gem_lmem.c71 GEM_WARN_ON(dma_resv_test_signaled(obj->base.resv, DMA_RESV_USAGE_BOOKKEEP) && in __i915_gem_object_is_lmem()
Di915_gem_userptr.c249 if (GEM_WARN_ON(i915_gem_object_has_pinned_pages(obj))) in i915_gem_object_userptr_unbind()
379 GEM_WARN_ON(obj->userptr.page_ref); in i915_gem_userptr_release()
Di915_gem_object.c508 GEM_WARN_ON(pin_count < 0); in i915_gem_object_evictable()
705 if (GEM_WARN_ON(obj->mm.region != mr)) in __i915_gem_object_migrate()
Di915_gem_phys.c31 if (GEM_WARN_ON(i915_gem_object_needs_bit17_swizzle(obj))) in i915_gem_object_get_pages_phys()
/drivers/gpu/drm/i915/pxp/
Dintel_pxp_irq.c25 if (GEM_WARN_ON(!intel_pxp_is_enabled(pxp))) in intel_pxp_irq_handler()
89 GEM_WARN_ON(intel_pxp_is_active(pxp)); in intel_pxp_irq_disable()
Dintel_pxp_session.c95 GEM_WARN_ON(pxp->arb_is_valid); in pxp_terminate_arb_session_and_global()
/drivers/gpu/drm/i915/gt/
Dintel_gt_buffer_pool.h28 GEM_WARN_ON(!node->pinned); in intel_gt_buffer_pool_mark_active()
Dintel_gt_mcr.c341 GEM_WARN_ON(!HAS_MSLICE_STEERING(gt->i915)); in get_nonterminated_steering()
350 GEM_WARN_ON(!HAS_MSLICE_STEERING(gt->i915)); in get_nonterminated_steering()
Dintel_ggtt.c169 GEM_WARN_ON(i915_vma_unbind(vma)); in i915_ggtt_suspend_vm()
687 if (GEM_WARN_ON(ppgtt->vm.total < ggtt->vm.total)) { in init_aliasing_ppgtt()
824 GEM_WARN_ON(kref_read(&ggtt->vm.resv_ref) != 1); in i915_ggtt_driver_late_release()
885 GEM_WARN_ON(pci_resource_len(pdev, GTTMMADR_BAR) != gen6_gttmmadr_size(i915)); in ggtt_probe_common()
1277 !GEM_WARN_ON(i915_vm_to_ggtt(vm)->probed_pte != read_last_pte(vm)); in i915_ggtt_resume_vm()
Dsysfs_engines.c109 if (GEM_WARN_ON(show_unknown)) in __caps_show()
116 if (GEM_WARN_ON(len >= PAGE_SIZE)) in __caps_show()
Dintel_context.c354 GEM_WARN_ON(!i915_active_acquire_if_busy(&ce->ring->vma->active)); in __intel_context_active()
360 GEM_WARN_ON(!i915_active_acquire_if_busy(&ce->state->active)); in __intel_context_active()
Dintel_region_lmem.c219 if (GEM_WARN_ON(lmem_size < flat_ccs_base)) in setup_lmem()
Dintel_ring.c213 if (GEM_WARN_ON(&target->link == &tl->requests)) in wait_for_space()
/drivers/gpu/drm/i915/selftests/
Digt_mmap.c29 if (GEM_WARN_ON(!node)) { in igt_mmap_offset()
/drivers/gpu/drm/i915/display/
Dintel_fb_pin.c38 GEM_WARN_ON(vm->bind_async_flags); in intel_pin_fb_obj_dpt()

12