Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1132 struct kfd_process_device *pdd, *peer_pdd; in kfd_ioctl_map_memory_to_gpu() local
1183 peer_pdd = kfd_process_device_data_by_id(p, devices_arr[i]); in kfd_ioctl_map_memory_to_gpu()
1184 if (!peer_pdd) { in kfd_ioctl_map_memory_to_gpu()
1191 peer_pdd = kfd_bind_process_to_device(peer_pdd->dev, p); in kfd_ioctl_map_memory_to_gpu()
1192 if (IS_ERR(peer_pdd)) { in kfd_ioctl_map_memory_to_gpu()
1193 err = PTR_ERR(peer_pdd); in kfd_ioctl_map_memory_to_gpu()
1198 peer_pdd->dev->adev, (struct kgd_mem *)mem, in kfd_ioctl_map_memory_to_gpu()
1199 peer_pdd->drm_priv); in kfd_ioctl_map_memory_to_gpu()
1201 struct pci_dev *pdev = peer_pdd->dev->adev->pdev; in kfd_ioctl_map_memory_to_gpu()
1225 peer_pdd = kfd_process_device_data_by_id(p, devices_arr[i]); in kfd_ioctl_map_memory_to_gpu()
[all …]
Dkfd_process.c963 struct kfd_process_device *peer_pdd = p->pdds[i]; in kfd_process_device_free_bos() local
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()