Searched refs:svms (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_svm.c | 83 pr_debug("svms 0x%p prange 0x%p [0x%lx 0x%lx]\n", prange->svms, in svm_range_unlink() 94 interval_tree_remove(&prange->it_node, &prange->svms->objects); in svm_range_unlink() 100 pr_debug("svms 0x%p prange 0x%p [0x%lx 0x%lx]\n", prange->svms, in svm_range_add_notifier_locked() 119 pr_debug("svms 0x%p prange 0x%p [0x%lx 0x%lx]\n", prange->svms, in svm_range_add_to_svms() 122 list_move_tail(&prange->list, &prange->svms->list); in svm_range_add_to_svms() 125 interval_tree_insert(&prange->it_node, &prange->svms->objects); in svm_range_add_to_svms() 131 prange->svms, prange, in svm_range_remove_notifier() 203 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_dma_map() 250 p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free_dma_mappings() 272 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_range_free() [all …]
|
D | kfd_migrate.c | 308 pr_debug("svms 0x%p [0x%lx 0x%lx 0x%llx]\n", prange->svms, prange->start, in svm_migrate_copy_to_vram() 403 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_migrate_vma_to_vram() 508 prange->svms, prange->start, prange->last, best_loc); in svm_migrate_ram_to_vram() 518 pr_debug("svms 0x%p [0x%lx 0x%lx] to gpu 0x%x\n", prange->svms, in svm_migrate_ram_to_vram() 581 pr_debug("svms 0x%p [0x%lx 0x%lx]\n", prange->svms, prange->start, in svm_migrate_copy_to_ram() 595 prange->svms, prange->start, prange->last); in svm_migrate_copy_to_ram() 621 prange->svms, prange->start, prange->last); in svm_migrate_copy_to_ram() 676 struct kfd_process *p = container_of(prange->svms, struct kfd_process, svms); in svm_migrate_vma_to_ram() 797 prange->svms, prange, prange->start, prange->last, in svm_migrate_vram_to_ram() 922 if (READ_ONCE(p->svms.faulting_task) == current) { in svm_migrate_to_ram() [all …]
|
D | kfd_svm.h | 106 struct svm_range_list *svms; member 163 struct svm_range *svm_range_from_addr(struct svm_range_list *svms, 177 void svm_range_add_list_work(struct svm_range_list *svms, 180 void schedule_deferred_list_work(struct svm_range_list *svms); 196 void svm_range_list_lock_and_flush_work(struct svm_range_list *svms, struct mm_struct *mm);
|
D | kfd_chardev.c | 1057 svm_range_list_lock_and_flush_work(&p->svms, current->mm); in kfd_ioctl_alloc_memory_of_gpu() 1058 mutex_lock(&p->svms.lock); in kfd_ioctl_alloc_memory_of_gpu() 1060 if (interval_tree_iter_first(&p->svms.objects, in kfd_ioctl_alloc_memory_of_gpu() 1065 mutex_unlock(&p->svms.lock); in kfd_ioctl_alloc_memory_of_gpu() 1068 mutex_unlock(&p->svms.lock); in kfd_ioctl_alloc_memory_of_gpu()
|
D | kfd_process.c | 599 for_each_set_bit(i, p->svms.bitmap_supported, p->n_pdds) { in kfd_procfs_add_sysfs_counters() 1092 for_each_set_bit(i, p->svms.bitmap_supported, p->n_pdds) { in kfd_process_remove_sysfs()
|
D | kfd_priv.h | 895 struct svm_range_list svms; member
|