Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.h69 struct kgd_mem { struct
197 unsigned long cur_seq, struct kgd_mem *mem);
222 unsigned long cur_seq, struct kgd_mem *mem) in amdgpu_amdkfd_evict_userptr()
242 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem);
311 void *drm_priv, struct kgd_mem **mem,
314 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv,
317 struct kgd_mem *mem, void *drm_priv);
319 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv);
320 int amdgpu_amdkfd_gpuvm_dmaunmap_mem(struct kgd_mem *mem, void *drm_priv);
322 struct amdgpu_device *adev, struct kgd_mem *mem, bool intr);
[all …]
Damdgpu_amdkfd_gpuvm.c78 struct kgd_mem *mem) in kfd_mem_is_attached()
316 struct kgd_mem *mem, struct amdgpu_bo **bo_out) in create_dmamap_sg_bo()
505 static uint64_t get_pte_flags(struct amdgpu_device *adev, struct kgd_mem *mem) in get_pte_flags()
551 kfd_mem_dmamap_userptr(struct kgd_mem *mem, in kfd_mem_dmamap_userptr()
644 kfd_mem_dmamap_sg_bo(struct kgd_mem *mem, in kfd_mem_dmamap_sg_bo()
699 kfd_mem_dmamap_attachment(struct kgd_mem *mem, in kfd_mem_dmamap_attachment()
718 kfd_mem_dmaunmap_userptr(struct kgd_mem *mem, in kfd_mem_dmaunmap_userptr()
767 kfd_mem_dmaunmap_sg_bo(struct kgd_mem *mem, in kfd_mem_dmaunmap_sg_bo()
795 kfd_mem_dmaunmap_attachment(struct kgd_mem *mem, in kfd_mem_dmaunmap_attachment()
815 static int kfd_mem_export_dmabuf(struct kgd_mem *mem) in kfd_mem_export_dmabuf()
[all …]
Damdgpu_object.h118 struct kgd_mem *kfd_bo;
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1133 pdd->drm_priv, (struct kgd_mem **) &mem, &offset, in kfd_ioctl_alloc_memory_of_gpu()
1169 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->adev, (struct kgd_mem *)mem, in kfd_ioctl_alloc_memory_of_gpu()
1213 (struct kgd_mem *)mem, pdd->drm_priv, &size); in kfd_ioctl_free_memory_of_gpu()
1300 peer_pdd->dev->adev, (struct kgd_mem *)mem, in kfd_ioctl_map_memory_to_gpu()
1311 ((struct kgd_mem *)mem)->domain); in kfd_ioctl_map_memory_to_gpu()
1317 err = amdgpu_amdkfd_gpuvm_sync_memory(dev->adev, (struct kgd_mem *) mem, true); in kfd_ioctl_map_memory_to_gpu()
1401 peer_pdd->dev->adev, (struct kgd_mem *)mem, peer_pdd->drm_priv); in kfd_ioctl_unmap_memory_from_gpu()
1412 (struct kgd_mem *) mem, true); in kfd_ioctl_unmap_memory_from_gpu()
1572 (struct kgd_mem **)&mem, &size, in kfd_ioctl_import_dmabuf()
1590 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(pdd->dev->adev, (struct kgd_mem *)mem, in kfd_ioctl_import_dmabuf()
[all …]
Dkfd_process.c716 static void kfd_process_free_gpuvm(struct kgd_mem *mem, in kfd_process_free_gpuvm()
739 uint32_t flags, struct kgd_mem **mem, void **kptr) in kfd_process_alloc_gpuvm()
763 (struct kgd_mem *)*mem, kptr, NULL); in kfd_process_alloc_gpuvm()
797 struct kgd_mem *mem; in kfd_process_device_reserve_ib_mem()
1368 struct kgd_mem *mem; in kfd_process_device_init_cwsr_dgpu()
Dkfd_priv.h690 struct kgd_mem *cwsr_mem;
697 struct kgd_mem *ib_mem;
Dkfd_process_queue_manager.c107 struct kgd_mem *mem = NULL; in pqm_set_gws()
/linux-6.12.1/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h41 struct kgd_mem;