mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-31 05:40:36 +00:00

A session is initialized (i.e. started) by sending a message to the GSC. The initialization will be triggered when a user opts-in to using PXP; the interface for that is coming in a follow-up patch in the series. v2: clean up error messages, use new ARB define (John) Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250129174140.948829-7-daniele.ceraolospurio@intel.com
23 lines
653 B
C
23 lines
653 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright(c) 2024, Intel Corporation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __XE_PXP_SUBMIT_H__
|
|
#define __XE_PXP_SUBMIT_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct xe_pxp;
|
|
struct xe_pxp_gsc_client_resources;
|
|
|
|
int xe_pxp_allocate_execution_resources(struct xe_pxp *pxp);
|
|
void xe_pxp_destroy_execution_resources(struct xe_pxp *pxp);
|
|
|
|
int xe_pxp_submit_session_init(struct xe_pxp_gsc_client_resources *gsc_res, u32 id);
|
|
int xe_pxp_submit_session_termination(struct xe_pxp *pxp, u32 id);
|
|
int xe_pxp_submit_session_invalidation(struct xe_pxp_gsc_client_resources *gsc_res,
|
|
u32 id);
|
|
|
|
#endif /* __XE_PXP_SUBMIT_H__ */
|