1*620a09fbSMatthew Brost /* SPDX-License-Identifier: MIT */ 2*620a09fbSMatthew Brost /* 3*620a09fbSMatthew Brost * Copyright © 2025 Intel Corporation 4*620a09fbSMatthew Brost */ 5*620a09fbSMatthew Brost 6*620a09fbSMatthew Brost #ifndef _XE_PAGEFAULT_H_ 7*620a09fbSMatthew Brost #define _XE_PAGEFAULT_H_ 8*620a09fbSMatthew Brost 9*620a09fbSMatthew Brost struct xe_device; 10*620a09fbSMatthew Brost struct xe_gt; 11*620a09fbSMatthew Brost struct xe_pagefault; 12*620a09fbSMatthew Brost 13*620a09fbSMatthew Brost int xe_pagefault_init(struct xe_device *xe); 14*620a09fbSMatthew Brost 15*620a09fbSMatthew Brost void xe_pagefault_reset(struct xe_device *xe, struct xe_gt *gt); 16*620a09fbSMatthew Brost 17*620a09fbSMatthew Brost int xe_pagefault_handler(struct xe_device *xe, struct xe_pagefault *pf); 18*620a09fbSMatthew Brost 19*620a09fbSMatthew Brost #endif 20