Searched refs:drm_priv (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd.h | 258 #define drm_priv_to_vm(drm_priv) \ argument 260 ((struct drm_file *)(drm_priv))->driver_priv)->vm) 267 void *drm_priv); 268 uint64_t amdgpu_amdkfd_gpuvm_get_process_page_dir(void *drm_priv); 271 void *drm_priv, struct kgd_mem **mem, 274 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv, 277 struct kgd_mem *mem, void *drm_priv); 279 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv); 293 uint64_t va, void *drm_priv,
|
D | amdgpu_amdkfd_gpuvm.c | 1394 void *drm_priv) in amdgpu_amdkfd_gpuvm_release_process_vm() argument 1398 if (WARN_ON(!adev || !drm_priv)) in amdgpu_amdkfd_gpuvm_release_process_vm() 1401 avm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_gpuvm_release_process_vm() 1414 uint64_t amdgpu_amdkfd_gpuvm_get_process_page_dir(void *drm_priv) in amdgpu_amdkfd_gpuvm_get_process_page_dir() argument 1416 struct amdgpu_vm *avm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_gpuvm_get_process_page_dir() 1456 void *drm_priv, struct kgd_mem **mem, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() argument 1459 struct amdgpu_vm *avm = drm_priv_to_vm(drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1538 ret = drm_vma_node_allow(&gobj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1583 drm_vma_node_revoke(&gobj->vma_node, drm_priv); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1604 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv, in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() argument [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process.c | 700 amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu(dev->adev, mem, pdd->drm_priv); in kfd_process_free_gpuvm() 701 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->adev, mem, pdd->drm_priv, in kfd_process_free_gpuvm() 719 pdd->drm_priv, mem, NULL, in kfd_process_alloc_gpuvm() 725 pdd->drm_priv); in kfd_process_alloc_gpuvm() 747 amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu(kdev->adev, *mem, pdd->drm_priv); in kfd_process_alloc_gpuvm() 750 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(kdev->adev, *mem, pdd->drm_priv, in kfd_process_alloc_gpuvm() 965 if (!peer_pdd->drm_priv) in kfd_process_device_free_bos() 968 peer_pdd->dev->adev, mem, peer_pdd->drm_priv); in kfd_process_device_free_bos() 972 pdd->drm_priv, NULL); in kfd_process_device_free_bos() 1031 pdd->dev->adev, pdd->drm_priv); in kfd_process_destroy_pdds() [all …]
|
D | kfd_chardev.c | 1036 pdd->drm_priv, (struct kgd_mem **) &mem, &offset, in kfd_ioctl_alloc_memory_of_gpu() 1068 pdd->drm_priv, NULL); in kfd_ioctl_alloc_memory_of_gpu() 1111 (struct kgd_mem *)mem, pdd->drm_priv, &size); in kfd_ioctl_free_memory_of_gpu() 1199 peer_pdd->drm_priv); in kfd_ioctl_map_memory_to_gpu() 1298 peer_pdd->dev->adev, (struct kgd_mem *)mem, peer_pdd->drm_priv); in kfd_ioctl_unmap_memory_from_gpu() 1461 args->va_addr, pdd->drm_priv, in kfd_ioctl_import_dmabuf() 1482 pdd->drm_priv, NULL); in kfd_ioctl_import_dmabuf() 2119 bo_bucket->size, pdd->drm_priv, kgd_mem, in criu_restore_memory_of_gpu() 2135 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(pdd->dev->adev, *kgd_mem, pdd->drm_priv, in criu_restore_memory_of_gpu() 2196 peer_pdd->drm_priv); in criu_restore_bo()
|
D | kfd_svm.c | 1235 drm_priv_to_vm(pdd->drm_priv), in svm_range_unmap_from_gpus() 1260 struct amdgpu_vm *vm = drm_priv_to_vm(pdd->drm_priv); in svm_range_map_to_gpu() 1409 vm = drm_priv_to_vm(pdd->drm_priv); in svm_range_reserve_bos() 1432 drm_priv_to_vm(pdd->drm_priv), in svm_range_reserve_bos() 2523 if (!p->pdds[i]->drm_priv) in svm_range_check_vm_userptr() 2526 vm = drm_priv_to_vm(p->pdds[i]->drm_priv); in svm_range_check_vm_userptr() 2950 if (!p->pdds[i]->drm_priv) in svm_range_check_vm() 2953 vm = drm_priv_to_vm(p->pdds[i]->drm_priv); in svm_range_check_vm()
|
D | kfd_device_queue_manager.c | 1020 pd_base = amdgpu_amdkfd_gpuvm_get_process_page_dir(pdd->drm_priv); in restore_process_queues_nocpsch() 1099 pd_base = amdgpu_amdkfd_gpuvm_get_process_page_dir(pdd->drm_priv); in restore_process_queues_cpsch() 1161 pd_base = amdgpu_amdkfd_gpuvm_get_process_page_dir(pdd->drm_priv); in register_process()
|
D | kfd_priv.h | 715 void *drm_priv; member
|