Lines Matching refs:ggtt
21 struct xe_ggtt *ggtt = xe_device_get_root_tile(xe)->mem.ggtt;
25 * by writing dpt/ggtt in a different order?
32 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, src_idx * XE_PAGE_SIZE,
54 struct xe_ggtt *ggtt = xe_device_get_root_tile(xe)->mem.ggtt;
56 = ggtt->pt_ops->pte_encode_bo;
85 struct xe_ggtt *ggtt = tile0->mem.ggtt;
121 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, x * XE_PAGE_SIZE,
157 write_ggtt_rotated(struct xe_bo *bo, struct xe_ggtt *ggtt, u32 *ggtt_ofs, u32 bo_ofs,
167 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, src_idx * XE_PAGE_SIZE,
170 xe_ggtt_set_pte(ggtt, *ggtt_ofs, pte);
186 struct xe_ggtt *ggtt = xe_device_get_root_tile(xe)->mem.ggtt;
193 xe_device_mem_access_get(tile_to_xe(ggtt->tile));
194 ret = mutex_lock_interruptible(&ggtt->lock);
199 if (xe_bo_is_vram(bo) && ggtt->flags & XE_GGTT_FLAGS_64K)
207 ret = xe_ggtt_insert_special_node_locked(ggtt, &vma->node, size,
213 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, x,
216 xe_ggtt_set_pte(ggtt, vma->node.start + x, pte);
225 ret = xe_ggtt_insert_special_node_locked(ggtt, &vma->node, size,
233 write_ggtt_rotated(bo, ggtt, &ggtt_ofs,
241 xe_ggtt_invalidate(ggtt);
243 mutex_unlock(&ggtt->lock);
245 xe_device_mem_access_put(tile_to_xe(ggtt->tile));
318 struct xe_ggtt *ggtt = xe_device_get_root_tile(xe)->mem.ggtt;
324 xe_ggtt_remove_node(ggtt, &vma->node);