xref: /linux/drivers/gpu/drm/xe/xe_pxp_submit.h (revision 96e84a2f5a5ba0efaaefb0dd5072e4b2e7f31f0e)
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_termination(struct xe_pxp *pxp, u32 id);
18 int xe_pxp_submit_session_invalidation(struct xe_pxp_gsc_client_resources *gsc_res,
19 				       u32 id);
20 
21 #endif /* __XE_PXP_SUBMIT_H__ */
22