Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1213 struct kfd_process_device *pdd, *peer_pdd; in kfd_ioctl_map_memory_to_gpu() local
1264 peer_pdd = kfd_process_device_data_by_id(p, devices_arr[i]); in kfd_ioctl_map_memory_to_gpu()
1265 if (!peer_pdd) { in kfd_ioctl_map_memory_to_gpu()
1272 peer_pdd = kfd_bind_process_to_device(peer_pdd->dev, p); in kfd_ioctl_map_memory_to_gpu()
1273 if (IS_ERR(peer_pdd)) { in kfd_ioctl_map_memory_to_gpu()
1274 err = PTR_ERR(peer_pdd); in kfd_ioctl_map_memory_to_gpu()
1279 peer_pdd->dev->adev, (struct kgd_mem *)mem, in kfd_ioctl_map_memory_to_gpu()
1280 peer_pdd->drm_priv); in kfd_ioctl_map_memory_to_gpu()
1282 struct pci_dev *pdev = peer_pdd->dev->adev->pdev; in kfd_ioctl_map_memory_to_gpu()
1306 peer_pdd = kfd_process_device_data_by_id(p, devices_arr[i]); in kfd_ioctl_map_memory_to_gpu()
[all …]
Dkfd_process.c964 struct kfd_process_device *peer_pdd = p->pdds[i]; in kfd_process_device_free_bos() local
966 if (!peer_pdd->drm_priv) in kfd_process_device_free_bos()
969 peer_pdd->dev->adev, mem, peer_pdd->drm_priv); in kfd_process_device_free_bos()