summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/xe_hmm.h
blob: 0ea98d8e7bbc76ea236b0d6f3f9742e713f0675c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: MIT
 *
 * Copyright © 2024 Intel Corporation
 */

#ifndef _XE_HMM_H_
#define _XE_HMM_H_

#include <linux/types.h>

struct xe_userptr_vma;

int xe_hmm_userptr_populate_range(struct xe_userptr_vma *uvma, bool is_mm_mmap_locked);

void xe_hmm_userptr_free_sg(struct xe_userptr_vma *uvma);

void xe_hmm_userptr_unmap(struct xe_userptr_vma *uvma);
#endif