Home
last modified time | relevance | path

Searched refs:va_node (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/panthor/
H A Dpanthor_gem.c47 ret = panthor_vm_unmap_range(vm, bo->va_node.start, bo->va_node.size); in panthor_kernel_bo_destroy()
51 panthor_vm_free_va(vm, &bo->va_node); in panthor_kernel_bo_destroy()
107 ret = panthor_vm_alloc_va(vm, gpu_va, size, &kbo->va_node); in panthor_kernel_bo_create()
111 ret = panthor_vm_map_bo_range(vm, bo, 0, size, kbo->va_node.start, vm_map_flags); in panthor_kernel_bo_create()
122 panthor_vm_free_va(vm, &kbo->va_node); in panthor_kernel_bo_create()
H A Dpanthor_gem.h72 struct drm_mm_node va_node; member
102 return bo->va_node.start; in panthor_kernel_bo_gpuva()
H A Dpanthor_mmu.h76 struct drm_mm_node *va_node);
77 void panthor_vm_free_va(struct panthor_vm *vm, struct drm_mm_node *va_node);
H A Dpanthor_mmu.c1034 struct drm_mm_node *va_node) in panthor_vm_alloc_va() argument
1047 va_node->start = va; in panthor_vm_alloc_va()
1048 va_node->size = size; in panthor_vm_alloc_va()
1049 ret = drm_mm_reserve_node(&vm->mm, va_node); in panthor_vm_alloc_va()
1051 ret = drm_mm_insert_node_in_range(&vm->mm, va_node, size, in panthor_vm_alloc_va()
1067 void panthor_vm_free_va(struct panthor_vm *vm, struct drm_mm_node *va_node) in panthor_vm_free_va() argument
1070 drm_mm_remove_node(va_node); in panthor_vm_free_va()
H A Dpanthor_fw.c606 if (drm_WARN_ON(&ptdev->base, section->mem->va_node.start != hdr.va.start)) in panthor_fw_load_section_entry()