Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1250 struct kfd_process_device *pdd, *peer_pdd; in kfd_ioctl_map_memory_to_gpu() local
1301 peer_pdd = kfd_process_device_data_by_id(p, devices_arr[i]); in kfd_ioctl_map_memory_to_gpu()
1302 if (!peer_pdd) { in kfd_ioctl_map_memory_to_gpu()
1309 peer_pdd = kfd_bind_process_to_device(peer_pdd->dev, p); in kfd_ioctl_map_memory_to_gpu()
1310 if (IS_ERR(peer_pdd)) { in kfd_ioctl_map_memory_to_gpu()
1311 err = PTR_ERR(peer_pdd); in kfd_ioctl_map_memory_to_gpu()
1316 peer_pdd->dev->adev, (struct kgd_mem *)mem, in kfd_ioctl_map_memory_to_gpu()
1317 peer_pdd->drm_priv); in kfd_ioctl_map_memory_to_gpu()
1319 struct pci_dev *pdev = peer_pdd->dev->adev->pdev; in kfd_ioctl_map_memory_to_gpu()
1343 peer_pdd = kfd_process_device_data_by_id(p, devices_arr[i]); in kfd_ioctl_map_memory_to_gpu()
[all …]
Dkfd_process.c960 struct kfd_process_device *peer_pdd = p->pdds[i]; in kfd_process_device_free_bos() local
962 if (!peer_pdd->drm_priv) in kfd_process_device_free_bos()
965 peer_pdd->dev->adev, mem, peer_pdd->drm_priv); in kfd_process_device_free_bos()