Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c931 struct amdgpu_vm *new_vm; in amdgpu_amdkfd_gpuvm_create_process_vm() local
934 new_vm = kzalloc(sizeof(*new_vm), GFP_KERNEL); in amdgpu_amdkfd_gpuvm_create_process_vm()
935 if (!new_vm) in amdgpu_amdkfd_gpuvm_create_process_vm()
939 ret = amdgpu_vm_init(adev, new_vm, AMDGPU_VM_CONTEXT_COMPUTE, pasid); in amdgpu_amdkfd_gpuvm_create_process_vm()
946 ret = init_kfd_vm(new_vm, process_info, ef); in amdgpu_amdkfd_gpuvm_create_process_vm()
950 *vm = (void *) new_vm; in amdgpu_amdkfd_gpuvm_create_process_vm()
955 amdgpu_vm_fini(adev, new_vm); in amdgpu_amdkfd_gpuvm_create_process_vm()
957 kfree(new_vm); in amdgpu_amdkfd_gpuvm_create_process_vm()