Home
last modified time | relevance | path

Searched refs:kgd_mem (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd.h67 struct kgd_mem { struct
193 unsigned long cur_seq, struct kgd_mem *mem);
215 unsigned long cur_seq, struct kgd_mem *mem) in amdgpu_amdkfd_evict_userptr()
228 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem);
295 void *drm_priv, struct kgd_mem **mem,
298 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv,
301 struct kgd_mem *mem, void *drm_priv);
303 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv);
304 int amdgpu_amdkfd_gpuvm_dmaunmap_mem(struct kgd_mem *mem, void *drm_priv);
306 struct amdgpu_device *adev, struct kgd_mem *mem, bool intr);
[all …]
H A Damdgpu_amdkfd_gpuvm.c77 struct kgd_mem *mem) in kfd_mem_is_attached()
307 struct kgd_mem *mem, struct amdgpu_bo **bo_out) in create_dmamap_sg_bo()
468 static uint64_t get_pte_flags(struct amdgpu_device *adev, struct kgd_mem *mem) in get_pte_flags()
514 kfd_mem_dmamap_userptr(struct kgd_mem *mem, in kfd_mem_dmamap_userptr()
607 kfd_mem_dmamap_sg_bo(struct kgd_mem *mem, in kfd_mem_dmamap_sg_bo()
662 kfd_mem_dmamap_attachment(struct kgd_mem *mem, in kfd_mem_dmamap_attachment()
681 kfd_mem_dmaunmap_userptr(struct kgd_mem *mem, in kfd_mem_dmaunmap_userptr()
730 kfd_mem_dmaunmap_sg_bo(struct kgd_mem *mem, in kfd_mem_dmaunmap_sg_bo()
758 kfd_mem_dmaunmap_attachment(struct kgd_mem *mem, in kfd_mem_dmaunmap_attachment()
778 static int kfd_mem_export_dmabuf(struct kgd_mem *mem) in kfd_mem_export_dmabuf()
[all …]
H A Damdgpu_object.h112 struct kgd_mem *kfd_bo;
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c1149 pdd->drm_priv, (struct kgd_mem **) &mem, &offset, in kfd_ioctl_alloc_memory_of_gpu()
1185 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->adev, (struct kgd_mem *)mem, in kfd_ioctl_alloc_memory_of_gpu()
1229 (struct kgd_mem *)mem, pdd->drm_priv, &size); in kfd_ioctl_free_memory_of_gpu()
1316 peer_pdd->dev->adev, (struct kgd_mem *)mem, in kfd_ioctl_map_memory_to_gpu()
1327 ((struct kgd_mem *)mem)->domain); in kfd_ioctl_map_memory_to_gpu()
1333 err = amdgpu_amdkfd_gpuvm_sync_memory(dev->adev, (struct kgd_mem *) mem, true); in kfd_ioctl_map_memory_to_gpu()
1417 peer_pdd->dev->adev, (struct kgd_mem *)mem, peer_pdd->drm_priv); in kfd_ioctl_unmap_memory_from_gpu()
1429 (struct kgd_mem *) mem, true); in kfd_ioctl_unmap_memory_from_gpu()
1594 (struct kgd_mem **)&mem, &size, in kfd_ioctl_import_dmabuf()
1613 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(pdd->dev->adev, (struct kgd_mem *)mem, in kfd_ioctl_import_dmabuf()
[all …]
H A Dkfd_process.c690 static void kfd_process_free_gpuvm(struct kgd_mem *mem, in kfd_process_free_gpuvm()
713 uint32_t flags, struct kgd_mem **mem, void **kptr) in kfd_process_alloc_gpuvm()
737 (struct kgd_mem *)*mem, kptr, NULL); in kfd_process_alloc_gpuvm()
771 struct kgd_mem *mem; in kfd_process_device_reserve_ib_mem()
1340 struct kgd_mem *mem; in kfd_process_device_init_cwsr_dgpu()
H A Dkfd_priv.h679 struct kgd_mem *cwsr_mem;
686 struct kgd_mem *ib_mem;
H A Dkfd_process_queue_manager.c106 struct kgd_mem *mem = NULL; in pqm_set_gws()
/openbmc/linux/drivers/gpu/drm/amd/include/
H A Dkgd_kfd_interface.h41 struct kgd_mem;