Lines Matching refs:va
33 struct i915_vma *va, in pte_tlbinv() argument
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()
141 if (va == vb) { in pte_tlbinv()
144 ce->engine->name, va->obj->mm.region->name ?: "smem", in pte_tlbinv()
145 addr, align, va->resource->page_sizes_gtt, in pte_tlbinv()
146 va->page_sizes.phys, va->page_sizes.sg); in pte_tlbinv()
182 if (vb != va) in pte_tlbinv()
184 i915_vma_unpin(va); in pte_tlbinv()
185 if (i915_vma_unbind_unlocked(va)) in pte_tlbinv()
229 struct i915_vma *va, *vb; in mem_tlbinv() local
276 va = i915_vma_instance(A, &ppgtt->vm, NULL); in mem_tlbinv()
277 if (IS_ERR(va)) { in mem_tlbinv()
278 err = PTR_ERR(va); in mem_tlbinv()
313 if (BIT_ULL(bit) < i915_vm_obj_min_alignment(va->vm, va->obj)) in mem_tlbinv()
317 err = pte_tlbinv(ce, va, va, in mem_tlbinv()
325 err = pte_tlbinv(ce, va, vb, in mem_tlbinv()