Searched refs:kgd_mem (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd.h | 49 struct kgd_mem { struct 133 int amdgpu_amdkfd_evict_userptr(struct kgd_mem *mem, struct mm_struct *mm); 161 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem); 212 void *vm, struct kgd_mem **mem, 215 struct kgd_dev *kgd, struct kgd_mem *mem); 217 struct kgd_dev *kgd, struct kgd_mem *mem, void *vm); 219 struct kgd_dev *kgd, struct kgd_mem *mem, void *vm); 221 struct kgd_dev *kgd, struct kgd_mem *mem, bool intr); 223 struct kgd_mem *mem, void **kptr, uint64_t *size); 233 struct kgd_mem **mem, uint64_t *size,
|
D | amdgpu_amdkfd_gpuvm.c | 84 struct kgd_mem *mem) in check_if_add_bo_to_vm() 371 static int add_bo_to_vm(struct amdgpu_device *adev, struct kgd_mem *mem, in add_bo_to_vm() 443 static void add_kgd_mem_to_kfd_bo_list(struct kgd_mem *mem, in add_kgd_mem_to_kfd_bo_list() 461 static void remove_kgd_mem_from_kfd_bo_list(struct kgd_mem *mem, in remove_kgd_mem_from_kfd_bo_list() 484 static int init_user_pages(struct kgd_mem *mem, struct mm_struct *mm, in init_user_pages() 561 static int reserve_bo_and_vm(struct kgd_mem *mem, in reserve_bo_and_vm() 611 static int reserve_bo_and_cond_vms(struct kgd_mem *mem, in reserve_bo_and_cond_vms() 1072 void *vm, struct kgd_mem **mem, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1122 *mem = kzalloc(sizeof(struct kgd_mem), GFP_KERNEL); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1227 struct kgd_dev *kgd, struct kgd_mem *mem) in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() [all …]
|
D | amdgpu_object.h | 108 struct kgd_mem *kfd_bo;
|
D | amdgpu_mn.c | 277 struct kgd_mem *mem = bo->kfd_bo; in amdgpu_mn_sync_pagetables_hsa()
|
D | amdgpu_amdkfd.c | 707 int amdgpu_amdkfd_evict_userptr(struct kgd_mem *mem, struct mm_struct *mm) in amdgpu_amdkfd_evict_userptr()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 1295 pdd->vm, (struct kgd_mem **) &mem, &offset, in kfd_ioctl_alloc_memory_of_gpu() 1323 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, (struct kgd_mem *)mem); in kfd_ioctl_alloc_memory_of_gpu() 1359 (struct kgd_mem *)mem); in kfd_ioctl_free_memory_of_gpu() 1440 peer->kgd, (struct kgd_mem *)mem, peer_pdd->vm); in kfd_ioctl_map_memory_to_gpu() 1451 err = amdgpu_amdkfd_gpuvm_sync_memory(dev->kgd, (struct kgd_mem *) mem, true); in kfd_ioctl_map_memory_to_gpu() 1547 peer->kgd, (struct kgd_mem *)mem, peer_pdd->vm); in kfd_ioctl_unmap_memory_from_gpu() 1655 (struct kgd_mem **)&mem, &size, in kfd_ioctl_import_dmabuf() 1673 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, (struct kgd_mem *)mem); in kfd_ioctl_import_dmabuf()
|
D | kfd_process.c | 161 static void kfd_process_free_gpuvm(struct kgd_mem *mem, in kfd_process_free_gpuvm() 181 struct kgd_mem *mem = NULL; in kfd_process_alloc_gpuvm() 214 (struct kgd_mem *)mem, kptr, NULL); in kfd_process_alloc_gpuvm()
|
D | kfd_process_queue_manager.c | 84 struct kgd_mem *mem = NULL; in pqm_set_gws()
|
/Linux-v5.4/drivers/gpu/drm/amd/include/ |
D | kgd_kfd_interface.h | 42 struct kgd_mem;
|