xref: /linux/drivers/gpu/drm/xe/xe_gt_pagefault.h (revision 41c177cf354126a22443b5c80cec9fdd313e67e1)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2022 Intel Corporation
4  */
5 
6 #ifndef _XE_GT_PAGEFAULT_H_
7 #define _XE_GT_PAGEFAULT_H_
8 
9 #include <linux/types.h>
10 
11 struct xe_gt;
12 struct xe_guc;
13 
14 int xe_gt_pagefault_init(struct xe_gt *gt);
15 void xe_gt_pagefault_reset(struct xe_gt *gt);
16 int xe_guc_pagefault_handler(struct xe_guc *guc, u32 *msg, u32 len);
17 int xe_guc_access_counter_notify_handler(struct xe_guc *guc, u32 *msg, u32 len);
18 
19 #endif	/* _XE_GT_PAGEFAULT_ */
20