1 /* SPDX-License-Identifier: MIT */
3 * Copyright(c) 2020, Intel Corporation. All rights reserved.
6 #ifndef __INTEL_PXP_PM_H__
7 #define __INTEL_PXP_PM_H__
11 #ifdef CONFIG_DRM_I915_PXP
12 void intel_pxp_suspend_prepare(struct intel_pxp *pxp);
13 void intel_pxp_suspend(struct intel_pxp *pxp);
14 void intel_pxp_resume_complete(struct intel_pxp *pxp);
15 void intel_pxp_runtime_suspend(struct intel_pxp *pxp);
17 static inline void intel_pxp_suspend_prepare(struct intel_pxp *pxp)
21 static inline void intel_pxp_suspend(struct intel_pxp *pxp)
25 static inline void intel_pxp_resume_complete(struct intel_pxp *pxp)
29 static inline void intel_pxp_runtime_suspend(struct intel_pxp *pxp)
33 static inline void intel_pxp_runtime_resume(struct intel_pxp *pxp)
35 intel_pxp_resume_complete(pxp);
37 #endif /* __INTEL_PXP_PM_H__ */