Lines Matching refs:drm_priv
1611 void *drm_priv) in amdgpu_amdkfd_gpuvm_release_process_vm() argument
1615 if (WARN_ON(!adev || !drm_priv)) in amdgpu_amdkfd_gpuvm_release_process_vm()
1618 avm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_gpuvm_release_process_vm()
1631 uint64_t amdgpu_amdkfd_gpuvm_get_process_page_dir(void *drm_priv) in amdgpu_amdkfd_gpuvm_get_process_page_dir() argument
1633 struct amdgpu_vm *avm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_gpuvm_get_process_page_dir()
1717 void *drm_priv, struct kgd_mem **mem, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() argument
1720 struct amdgpu_vm *avm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1825 ret = drm_vma_node_allow(&gobj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1886 drm_vma_node_revoke(&gobj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1908 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv, in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() argument
1998 drm_vma_node_revoke(&mem->bo->tbo.base.vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
2024 void *drm_priv) in amdgpu_amdkfd_gpuvm_map_memory_to_gpu() argument
2026 struct amdgpu_vm *avm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
2128 int amdgpu_amdkfd_gpuvm_dmaunmap_mem(struct kgd_mem *mem, void *drm_priv) in amdgpu_amdkfd_gpuvm_dmaunmap_mem() argument
2134 vm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_gpuvm_dmaunmap_mem()
2160 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv) in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu() argument
2162 struct amdgpu_vm *avm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu()
2375 uint64_t va, void *drm_priv, in import_obj_create() argument
2379 struct amdgpu_vm *avm = drm_priv_to_vm(drm_priv); in import_obj_create()
2393 ret = drm_vma_node_allow(&obj->vma_node, drm_priv); in import_obj_create()
2439 drm_vma_node_revoke(&obj->vma_node, drm_priv); in import_obj_create()
2446 uint64_t va, void *drm_priv, in amdgpu_amdkfd_gpuvm_import_dmabuf_fd() argument
2464 ret = import_obj_create(adev, obj->dma_buf, obj, va, drm_priv, mem, size, in amdgpu_amdkfd_gpuvm_import_dmabuf_fd()
3208 bool amdgpu_amdkfd_bo_mapped_to_dev(void *drm_priv, struct kgd_mem *mem) in amdgpu_amdkfd_bo_mapped_to_dev() argument
3210 struct amdgpu_vm *vm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_bo_mapped_to_dev()