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 11struct xe_gt; 12struct xe_guc; 13 14int xe_gt_pagefault_init(struct xe_gt *gt); 15void xe_gt_pagefault_reset(struct xe_gt *gt); 16int xe_guc_pagefault_handler(struct xe_guc *guc, u32 *msg, u32 len); 17int xe_guc_access_counter_notify_handler(struct xe_guc *guc, u32 *msg, u32 len); 18 19#endif /* _XE_GT_PAGEFAULT_ */ 20