Lines Matching refs:kgd
853 args->gpu_clock_counter = amdgpu_amdkfd_get_gpu_clock_counter(dev->kgd); in kfd_ioctl_get_clock_counters()
1042 err = amdgpu_amdkfd_gpuvm_map_gtt_bo_to_kernel(kfd->kgd, in kfd_ioctl_create_event()
1133 dev->kgd, args->va_addr, pdd->qpd.vmid); in kfd_ioctl_set_scratch_backing_va()
1154 amdgpu_amdkfd_get_tile_config(dev->kgd, &config); in kfd_ioctl_get_tile_config()
1240 amdgpu_amdkfd_get_local_mem_info(dev->kgd, &mem_info); in kfd_dev_is_large_bar()
1292 offset = amdgpu_amdkfd_get_mmio_remap_phys_addr(dev->kgd); in kfd_ioctl_alloc_memory_of_gpu()
1300 dev->kgd, args->va_addr, args->size, in kfd_ioctl_alloc_memory_of_gpu()
1332 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, (struct kgd_mem *)mem, in kfd_ioctl_alloc_memory_of_gpu()
1369 ret = amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, in kfd_ioctl_free_memory_of_gpu()
1454 peer->kgd, (struct kgd_mem *)mem, in kfd_ioctl_map_memory_to_gpu()
1466 err = amdgpu_amdkfd_gpuvm_sync_memory(dev->kgd, (struct kgd_mem *) mem, true); in kfd_ioctl_map_memory_to_gpu()
1563 peer->kgd, (struct kgd_mem *)mem, peer_pdd->drm_priv); in kfd_ioctl_unmap_memory_from_gpu()
1574 err = amdgpu_amdkfd_gpuvm_sync_memory(dev->kgd, in kfd_ioctl_unmap_memory_from_gpu()
1670 r = amdgpu_amdkfd_get_dmabuf_info(dev->kgd, args->dmabuf_fd, in kfd_ioctl_get_dmabuf_info()
1728 r = amdgpu_amdkfd_gpuvm_import_dmabuf(dev->kgd, dmabuf, in kfd_ioctl_import_dmabuf()
1749 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, (struct kgd_mem *)mem, in kfd_ioctl_import_dmabuf()
2032 address = amdgpu_amdkfd_get_mmio_remap_phys_addr(dev->kgd); in kfd_mmio_mmap()