1 /* SPDX-License-Identifier: MIT
2  *
3  * Copyright © 2024 Intel Corporation
4  */
5 
6 #ifndef _XE_HMM_H_
7 #define _XE_HMM_H_
8 
9 #include <linux/types.h>
10 
11 struct xe_userptr_vma;
12 
13 int xe_hmm_userptr_populate_range(struct xe_userptr_vma *uvma, bool is_mm_mmap_locked);
14 
15 void xe_hmm_userptr_free_sg(struct xe_userptr_vma *uvma);
16 
17 void xe_hmm_userptr_unmap(struct xe_userptr_vma *uvma);
18 #endif
19