Lines Matching refs:gpuva
89 static inline struct xe_vm *gpuva_to_vm(struct drm_gpuva *gpuva) in gpuva_to_vm() argument
91 return gpuvm_to_vm(gpuva->vm); in gpuva_to_vm()
94 static inline struct xe_vma *gpuva_to_vma(struct drm_gpuva *gpuva) in gpuva_to_vma() argument
96 return container_of(gpuva, struct xe_vma, gpuva); in gpuva_to_vma()
110 return vma->gpuva.va.addr; in xe_vma_start()
115 return vma->gpuva.va.range; in xe_vma_size()
125 return vma->gpuva.gem.offset; in xe_vma_bo_offset()
130 return !vma->gpuva.gem.obj ? NULL : in xe_vma_bo()
131 container_of(vma->gpuva.gem.obj, struct xe_bo, ttm.base); in xe_vma_bo()
136 return container_of(vma->gpuva.vm, struct xe_vm, gpuvm); in xe_vma_vm()
141 return vma->gpuva.flags & XE_VMA_READ_ONLY; in xe_vma_read_only()
146 return vma->gpuva.gem.offset; in xe_vma_userptr()
151 return vma->gpuva.flags & DRM_GPUVA_SPARSE; in xe_vma_is_null()