1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright(c) 2024, Intel Corporation. All rights reserved.
4  */
5 
6 #ifndef __XE_PXP_SUBMIT_H__
7 #define __XE_PXP_SUBMIT_H__
8 
9 #include <linux/types.h>
10 
11 struct xe_pxp;
12 struct xe_pxp_gsc_client_resources;
13 
14 int xe_pxp_allocate_execution_resources(struct xe_pxp *pxp);
15 void xe_pxp_destroy_execution_resources(struct xe_pxp *pxp);
16 
17 int xe_pxp_submit_session_init(struct xe_pxp_gsc_client_resources *gsc_res, u32 id);
18 int xe_pxp_submit_session_termination(struct xe_pxp *pxp, u32 id);
19 int xe_pxp_submit_session_invalidation(struct xe_pxp_gsc_client_resources *gsc_res,
20 				       u32 id);
21 
22 #endif /* __XE_PXP_SUBMIT_H__ */
23