]> Git Repo - J-linux.git/blob - drivers/gpu/drm/i915/pxp/intel_pxp_session.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-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.027237 seconds and 4 git commands to generate.