JustOS/linux-6.13/drivers/gpu/drm/xe/xe_gt_pagefault.h
justuser 02e73b8cd9 up
2025-01-24 17:00:19 +03:00

20 lines
467 B
C

/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2022 Intel Corporation
*/
#ifndef _XE_GT_PAGEFAULT_H_
#define _XE_GT_PAGEFAULT_H_
#include <linux/types.h>
struct xe_gt;
struct xe_guc;
int xe_gt_pagefault_init(struct xe_gt *gt);
void xe_gt_pagefault_reset(struct xe_gt *gt);
int xe_guc_pagefault_handler(struct xe_guc *guc, u32 *msg, u32 len);
int xe_guc_access_counter_notify_handler(struct xe_guc *guc, u32 *msg, u32 len);
#endif /* _XE_GT_PAGEFAULT_ */