Lines Matching full:va
33 struct i915_vma *va, in pte_tlbinv() argument
64 /* Pin va at random but aligned offset after vma */ in pte_tlbinv()
68 va->size, align); in pte_tlbinv()
69 err = i915_vma_pin(va, 0, 0, addr | PIN_OFFSET_FIXED | PIN_USER); in pte_tlbinv()
71 pr_err("Cannot pin at %llx+%llx\n", addr, va->size); in pte_tlbinv()
74 GEM_BUG_ON(i915_vma_offset(va) != addr); in pte_tlbinv()
75 if (vb != va) { in pte_tlbinv()
77 vb->node = va->node; /* overwrites the _same_ PTE */ in pte_tlbinv()
93 if (va != vb) in pte_tlbinv()
95 ce->engine->name, va->obj->mm.region->name ?: "smem", in pte_tlbinv()
96 addr, align, va->resource->page_sizes_gtt, in pte_tlbinv()
97 va->page_sizes.phys, va->page_sizes.sg, in pte_tlbinv()
114 vma_set_qw(va, addr, -1); in pte_tlbinv()
148 if (va == vb) { in pte_tlbinv()
151 ce->engine->name, va->obj->mm.region->name ?: "smem", in pte_tlbinv()
152 addr, align, va->resource->page_sizes_gtt, in pte_tlbinv()
153 va->page_sizes.phys, va->page_sizes.sg); in pte_tlbinv()
189 if (vb != va) in pte_tlbinv()
191 i915_vma_unpin(va); in pte_tlbinv()
192 if (i915_vma_unbind_unlocked(va)) in pte_tlbinv()
236 struct i915_vma *va, *vb; in mem_tlbinv() local
283 va = i915_vma_instance(A, &ppgtt->vm, NULL); in mem_tlbinv()
284 if (IS_ERR(va)) { in mem_tlbinv()
285 err = PTR_ERR(va); in mem_tlbinv()
320 if (BIT_ULL(bit) < i915_vm_obj_min_alignment(va->vm, va->obj)) in mem_tlbinv()
324 err = pte_tlbinv(ce, va, va, in mem_tlbinv()
332 err = pte_tlbinv(ce, va, vb, in mem_tlbinv()