Home
last modified time | relevance | path

Searched refs:svm_range (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.h105 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 amdgpu_device *svm_range_get_adev_by_id(struct svm_range *prange,
169 struct svm_range *prange, bool clear);
170 void svm_range_vram_node_free(struct svm_range *prange);
172 unsigned long addr, struct svm_range *parent,
173 struct svm_range *prange);
[all …]
Dkfd_svm.c81 static void svm_range_unlink(struct svm_range *prange) in svm_range_unlink()
98 svm_range_add_notifier_locked(struct mm_struct *mm, struct svm_range *prange) in svm_range_add_notifier_locked()
117 static void svm_range_add_to_svms(struct svm_range *prange) in svm_range_add_to_svms()
128 static void svm_range_remove_notifier(struct svm_range *prange) in svm_range_remove_notifier()
148 svm_range_dma_map_dev(struct amdgpu_device *adev, struct svm_range *prange, in svm_range_dma_map_dev()
195 svm_range_dma_map(struct svm_range *prange, unsigned long *bitmap, in svm_range_dma_map()
242 void svm_range_free_dma_mappings(struct svm_range *prange) in svm_range_free_dma_mappings()
269 static void svm_range_free(struct svm_range *prange, bool update_mem_usage) in svm_range_free()
302 svm_range *svm_range_new(struct svm_range_list *svms, uint64_t start, in svm_range_new()
306 struct svm_range *prange; in svm_range_new()
[all …]
Dkfd_migrate.h43 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,
Dkfd_migrate.c219 svm_migrate_get_vram_page(struct svm_range *prange, unsigned long pfn) in svm_migrate_get_vram_page()
296 svm_migrate_copy_to_vram(struct amdgpu_device *adev, struct svm_range *prange, in svm_migrate_copy_to_vram()
405 svm_migrate_vma_to_vram(struct amdgpu_device *adev, struct svm_range *prange, in svm_migrate_vma_to_vram()
502 svm_migrate_ram_to_vram(struct svm_range *prange, uint32_t best_loc, in svm_migrate_ram_to_vram()
564 svm_migrate_copy_to_ram(struct amdgpu_device *adev, struct svm_range *prange, in svm_migrate_copy_to_ram()
667 svm_migrate_vma_to_ram(struct amdgpu_device *adev, struct svm_range *prange, in svm_migrate_vma_to_ram()
767 int svm_migrate_vram_to_ram(struct svm_range *prange, struct mm_struct *mm, in svm_migrate_vram_to_ram()
841 svm_migrate_vram_to_vram(struct svm_range *prange, uint32_t best_loc, in svm_migrate_vram_to_vram()
866 svm_migrate_to_vram(struct svm_range *prange, uint32_t best_loc, in svm_migrate_to_vram()
891 struct svm_range *parent; in svm_migrate_to_ram()
[all …]