Lines Matching refs:kgd
289 dev->kfd2kgd->get_cu_occupancy(dev->kgd, proc->pasid, &wave_cnt, in kfd_get_cu_occupancy()
692 amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu(dev->kgd, mem, pdd->drm_priv); in kfd_process_free_gpuvm()
693 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, mem, pdd->drm_priv, in kfd_process_free_gpuvm()
712 err = amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu(kdev->kgd, gpu_va, size, in kfd_process_alloc_gpuvm()
717 err = amdgpu_amdkfd_gpuvm_map_memory_to_gpu(kdev->kgd, mem, in kfd_process_alloc_gpuvm()
722 err = amdgpu_amdkfd_gpuvm_sync_memory(kdev->kgd, mem, true); in kfd_process_alloc_gpuvm()
741 err = amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel(kdev->kgd, in kfd_process_alloc_gpuvm()
759 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(kdev->kgd, mem, pdd->drm_priv, in kfd_process_alloc_gpuvm()
941 peer_pdd->dev->kgd, mem, peer_pdd->drm_priv); in kfd_process_device_free_bos()
944 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(pdd->dev->kgd, mem, in kfd_process_device_free_bos()
970 pdd->dev->kgd, pdd->drm_priv); in kfd_process_destroy_pdds()
1499 dev->kgd, drm_file, p->pasid, in kfd_process_device_init_vm()
1730 struct kgd_dev *kgd = (struct kgd_dev *)adev; in kfd_process_gpuid_from_kgd() local
1734 if (p->pdds[i] && p->pdds[i]->dev->kgd == kgd) { in kfd_process_gpuid_from_kgd()
1899 amdgpu_amdkfd_flush_gpu_tlb_vmid(dev->kgd, in kfd_flush_tlb()
1902 amdgpu_amdkfd_flush_gpu_tlb_pasid(dev->kgd, in kfd_flush_tlb()