Lines Matching refs:xe_assert
76 xe_assert(xe, xe_vma_is_userptr(vma)); in xe_vma_userptr_pin_pages()
172 xe_assert(vm->xe, link != list); in arm_preempt_fences()
234 xe_assert(vm->xe, xe_vm_in_preempt_fence_mode(vm)); in xe_vm_add_compute_exec_queue()
493 xe_assert(vm->xe, xe_vm_in_preempt_fence_mode(vm)); in preempt_rebind_work_func()
639 xe_assert(vm->xe, xe_vma_is_userptr(vma)); in vma_userptr_invalidate()
696 xe_assert(vm->xe, !xe_vm_in_fault_mode(vm)); in xe_vm_userptr_pin()
701 xe_assert(vm->xe, list_empty(&vm->userptr.repin_list)); in xe_vm_userptr_pin()
903 xe_assert(vm->xe, vma->tile_present); in xe_vm_rebind()
950 xe_assert(vm->xe, xe_vm_in_fault_mode(vm)); in xe_vma_rebind()
1039 xe_assert(vm->xe, xe_vm_in_fault_mode(vm)); in xe_vm_range_rebind()
1040 xe_assert(vm->xe, xe_vma_is_cpu_addr_mirror(vma)); in xe_vm_range_rebind()
1120 xe_assert(vm->xe, xe_vm_in_fault_mode(vm)); in xe_vm_range_unbind()
1182 xe_assert(vm->xe, start < end); in xe_vma_create()
1183 xe_assert(vm->xe, end < vm->size); in xe_vma_create()
1328 xe_assert(vm->xe, list_empty(&vma->combined_links.destroy)); in xe_vma_destroy()
1331 xe_assert(vm->xe, vma->gpuva.flags & XE_VMA_DESTROYED); in xe_vma_destroy()
1334 xe_assert(vm->xe, list_empty(&to_userptr_vma(vma)->userptr.repin_link)); in xe_vma_destroy()
1410 xe_assert(vm->xe, start + range <= vm->size); in xe_vm_find_overlapping_vma()
1421 xe_assert(vm->xe, xe_vma_vm(vma) == vm); in xe_vm_insert_vma()
1434 xe_assert(vm->xe, xe_vma_vm(vma) == vm); in xe_vm_remove_vma()
1567 xe_assert(xe, !(flags & ~XE_PTE_PS64)); in xelp_pte_encode_addr()
1655 xe_assert(xe, !((flags & XE_VM_FLAG_GSC) && (flags & XE_VM_FLAG_FAULT_MODE))); in xe_vm_create()
1874 xe_assert(xe, !vm->preempt.num_exec_queues); in xe_vm_close_and_put()
1958 xe_assert(xe, xe->info.has_asid); in xe_vm_close_and_put()
1959 xe_assert(xe, !(vm->flags & XE_VM_FLAG_MIGRATION)); in xe_vm_close_and_put()
1962 xe_assert(xe, lookup == vm); in xe_vm_close_and_put()
1981 xe_assert(xe, !vm->size); in vm_destroy_work_func()
2330 xe_assert(vm->xe, bo); in vm_bind_ioctl_ops_create()
2983 xe_assert(vm->xe, region <= ARRAY_SIZE(region_to_mem_type)); in op_lock_and_prep()
3786 xe_assert(vm->xe, !list_empty(&vops.list)); in xe_vm_bind_kernel_bo()
3926 xe_assert(xe, !xe_vma_is_null(vma)); in xe_vm_invalidate_vma()
3927 xe_assert(xe, !xe_vma_is_cpu_addr_mirror(vma)); in xe_vm_invalidate_vma()