Searched refs:kgd_mem (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd.h | 50 struct kgd_mem { struct 156 int amdgpu_amdkfd_evict_userptr(struct kgd_mem *mem, struct mm_struct *mm); 177 int amdgpu_amdkfd_evict_userptr(struct kgd_mem *mem, struct mm_struct *mm) in amdgpu_amdkfd_evict_userptr() 189 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem); 249 void *vm, struct kgd_mem **mem, 252 struct kgd_dev *kgd, struct kgd_mem *mem, uint64_t *size); 254 struct kgd_dev *kgd, struct kgd_mem *mem, void *vm); 256 struct kgd_dev *kgd, struct kgd_mem *mem, void *vm); 258 struct kgd_dev *kgd, struct kgd_mem *mem, bool intr); 260 struct kgd_mem *mem, void **kptr, uint64_t *size); [all …]
|
D | amdgpu_amdkfd_gpuvm.c | 71 struct kgd_mem *mem) in check_if_add_bo_to_vm() 390 static uint64_t get_pte_flags(struct amdgpu_device *adev, struct kgd_mem *mem) in get_pte_flags() 435 static int add_bo_to_vm(struct amdgpu_device *adev, struct kgd_mem *mem, in add_bo_to_vm() 506 static void add_kgd_mem_to_kfd_bo_list(struct kgd_mem *mem, in add_kgd_mem_to_kfd_bo_list() 524 static void remove_kgd_mem_from_kfd_bo_list(struct kgd_mem *mem, in remove_kgd_mem_from_kfd_bo_list() 547 static int init_user_pages(struct kgd_mem *mem, uint64_t user_addr) in init_user_pages() 623 static int reserve_bo_and_vm(struct kgd_mem *mem, in reserve_bo_and_vm() 673 static int reserve_bo_and_cond_vms(struct kgd_mem *mem, in reserve_bo_and_cond_vms() 1138 void *vm, struct kgd_mem **mem, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1186 *mem = kzalloc(sizeof(struct kgd_mem), GFP_KERNEL); in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() [all …]
|
D | amdgpu_object.h | 114 struct kgd_mem *kfd_bo;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 1322 pdd->vm, (struct kgd_mem **) &mem, &offset, in kfd_ioctl_alloc_memory_of_gpu() 1353 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, (struct kgd_mem *)mem, NULL); in kfd_ioctl_alloc_memory_of_gpu() 1390 (struct kgd_mem *)mem, &size); in kfd_ioctl_free_memory_of_gpu() 1473 peer->kgd, (struct kgd_mem *)mem, peer_pdd->vm); in kfd_ioctl_map_memory_to_gpu() 1484 err = amdgpu_amdkfd_gpuvm_sync_memory(dev->kgd, (struct kgd_mem *) mem, true); in kfd_ioctl_map_memory_to_gpu() 1580 peer->kgd, (struct kgd_mem *)mem, peer_pdd->vm); in kfd_ioctl_unmap_memory_from_gpu() 1727 (struct kgd_mem **)&mem, &size, in kfd_ioctl_import_dmabuf() 1746 amdgpu_amdkfd_gpuvm_free_memory_of_gpu(dev->kgd, (struct kgd_mem *)mem, NULL); in kfd_ioctl_import_dmabuf()
|
D | kfd_process.c | 638 static void kfd_process_free_gpuvm(struct kgd_mem *mem, in kfd_process_free_gpuvm() 658 struct kgd_mem *mem = NULL; in kfd_process_alloc_gpuvm() 691 (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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
D | kgd_kfd_interface.h | 42 struct kgd_mem;
|