]> Git Repo - linux.git/blob - drivers/gpu/drm/i915/pxp/intel_pxp_session.h
Linux 6.14-rc3
[linux.git] / drivers / gpu / drm / i915 / pxp / intel_pxp_session.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright(c) 2020, Intel Corporation. All rights reserved.
4  */
5
6 #ifndef __INTEL_PXP_SESSION_H__
7 #define __INTEL_PXP_SESSION_H__
8
9 #include <linux/types.h>
10
11 struct intel_pxp;
12
13 #ifdef CONFIG_DRM_I915_PXP
14 void intel_pxp_session_management_init(struct intel_pxp *pxp);
15 void intel_pxp_terminate(struct intel_pxp *pxp, bool post_invalidation_needs_restart);
16 #else
17 static inline void intel_pxp_session_management_init(struct intel_pxp *pxp)
18 {
19 }
20
21 static inline void intel_pxp_terminate(struct intel_pxp *pxp, bool post_invalidation_needs_restart)
22 {
23 }
24 #endif
25 #endif /* __INTEL_PXP_SESSION_H__ */
This page took 0.032142 seconds and 4 git commands to generate.