Searched refs:svm_range (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_svm.h | 106 struct svm_range { struct 138 static inline void svm_range_lock(struct svm_range *prange) in svm_range_lock() argument 144 static inline void svm_range_unlock(struct svm_range *prange) in svm_range_unlock() 163 struct svm_range *svm_range_from_addr(struct svm_range_list *svms, 165 struct svm_range **parent); 166 struct kfd_node *svm_range_get_node_by_id(struct svm_range *prange, 170 void svm_range_vram_node_free(struct svm_range *prange); 172 unsigned long addr, struct svm_range *parent, 173 struct svm_range *prange); 179 struct svm_range *prange, struct mm_struct *mm, [all …]
|
H A D | kfd_svm.c | 317 struct svm_range *prange; in svm_range_new() 906 svm_range_copy_dma_addrs(struct svm_range *dst, struct svm_range *src) in svm_range_copy_dma_addrs() 954 svm_range_split_pages(struct svm_range *new, struct svm_range *old, in svm_range_split_pages() 972 svm_range_split_nodes(struct svm_range *new, struct svm_range *old, in svm_range_split_nodes() 1013 svm_range_split_adjust(struct svm_range *new, struct svm_range *old, in svm_range_split_adjust() 1112 struct svm_range *tail; in svm_range_split_tail() 1124 struct svm_range *head; in svm_range_split_head() 1985 static struct svm_range *svm_range_clone(struct svm_range *old) in svm_range_clone() 1987 struct svm_range *new; in svm_range_clone() 2104 struct svm_range *tmp; in svm_range_add() [all …]
|
H A D | kfd_migrate.h | 43 int svm_migrate_to_vram(struct svm_range *prange, uint32_t best_loc, 45 int svm_migrate_vram_to_ram(struct svm_range *prange, struct mm_struct *mm,
|
H A D | kfd_migrate.c | 213 svm_migrate_get_vram_page(struct svm_range *prange, unsigned long pfn) in svm_migrate_get_vram_page() 290 svm_migrate_copy_to_vram(struct kfd_node *node, struct svm_range *prange, in svm_migrate_copy_to_vram() 394 svm_migrate_vma_to_vram(struct kfd_node *node, struct svm_range *prange, in svm_migrate_vma_to_vram() 491 svm_migrate_ram_to_vram(struct svm_range *prange, uint32_t best_loc, in svm_migrate_ram_to_vram() 580 svm_migrate_copy_to_ram(struct amdgpu_device *adev, struct svm_range *prange, in svm_migrate_copy_to_ram() 685 svm_migrate_vma_to_ram(struct kfd_node *node, struct svm_range *prange, in svm_migrate_vma_to_ram() 787 int svm_migrate_vram_to_ram(struct svm_range *prange, struct mm_struct *mm, in svm_migrate_vram_to_ram() 859 svm_migrate_vram_to_vram(struct svm_range *prange, uint32_t best_loc, in svm_migrate_vram_to_vram() 884 svm_migrate_to_vram(struct svm_range *prange, uint32_t best_loc, in svm_migrate_to_vram() 909 struct svm_range *parent; in svm_migrate_to_ram() [all …]
|