Lines Matching refs:bo_va
147 struct radeon_bo_va *bo_va; in radeon_gem_object_open() local
159 bo_va = radeon_vm_bo_find(vm, rbo); in radeon_gem_object_open()
160 if (!bo_va) { in radeon_gem_object_open()
161 bo_va = radeon_vm_bo_add(rdev, vm, rbo); in radeon_gem_object_open()
163 ++bo_va->ref_count; in radeon_gem_object_open()
177 struct radeon_bo_va *bo_va; in radeon_gem_object_close() local
190 bo_va = radeon_vm_bo_find(vm, rbo); in radeon_gem_object_close()
191 if (bo_va) { in radeon_gem_object_close()
192 if (--bo_va->ref_count == 0) { in radeon_gem_object_close()
193 radeon_vm_bo_rmv(rdev, bo_va); in radeon_gem_object_close()
443 struct radeon_bo_va *bo_va; in radeon_gem_va_ioctl() local
511 bo_va = radeon_vm_bo_find(&fpriv->vm, rbo); in radeon_gem_va_ioctl()
512 if (!bo_va) { in radeon_gem_va_ioctl()
520 if (bo_va->soffset) { in radeon_gem_va_ioctl()
522 args->offset = bo_va->soffset; in radeon_gem_va_ioctl()
525 r = radeon_vm_bo_set_addr(rdev, bo_va, args->offset, args->flags); in radeon_gem_va_ioctl()
528 r = radeon_vm_bo_set_addr(rdev, bo_va, 0, 0); in radeon_gem_va_ioctl()