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
11struct xe_pxp;
12struct xe_pxp_gsc_client_resources;
13
14int xe_pxp_allocate_execution_resources(struct xe_pxp *pxp);
15void xe_pxp_destroy_execution_resources(struct xe_pxp *pxp);
16
17int xe_pxp_submit_session_init(struct xe_pxp_gsc_client_resources *gsc_res, u32 id);
18int xe_pxp_submit_session_termination(struct xe_pxp *pxp, u32 id);
19int xe_pxp_submit_session_invalidation(struct xe_pxp_gsc_client_resources *gsc_res,
20 u32 id);
21
22#endif /* __XE_PXP_SUBMIT_H__ */
23

source code of linux/drivers/gpu/drm/xe/xe_pxp_submit.h