10cfab4cbSHuang, Sean Z /* SPDX-License-Identifier: MIT */
20cfab4cbSHuang, Sean Z /*
30cfab4cbSHuang, Sean Z  * Copyright(c) 2020, Intel Corporation. All rights reserved.
40cfab4cbSHuang, Sean Z  */
50cfab4cbSHuang, Sean Z 
60cfab4cbSHuang, Sean Z #ifndef __INTEL_PXP_PM_H__
70cfab4cbSHuang, Sean Z #define __INTEL_PXP_PM_H__
80cfab4cbSHuang, Sean Z 
9602e604aSJani Nikula struct intel_pxp;
100cfab4cbSHuang, Sean Z 
110cfab4cbSHuang, Sean Z #ifdef CONFIG_DRM_I915_PXP
12b8d84368STejas Upadhyay void intel_pxp_suspend_prepare(struct intel_pxp *pxp);
13b8d84368STejas Upadhyay void intel_pxp_suspend(struct intel_pxp *pxp);
14*24efe424SAlan Previn void intel_pxp_resume_complete(struct intel_pxp *pxp);
15b8d84368STejas Upadhyay void intel_pxp_runtime_suspend(struct intel_pxp *pxp);
160cfab4cbSHuang, Sean Z #else
intel_pxp_suspend_prepare(struct intel_pxp * pxp)17b8d84368STejas Upadhyay static inline void intel_pxp_suspend_prepare(struct intel_pxp *pxp)
18b8d84368STejas Upadhyay {
19b8d84368STejas Upadhyay }
20b8d84368STejas Upadhyay 
intel_pxp_suspend(struct intel_pxp * pxp)21b8d84368STejas Upadhyay static inline void intel_pxp_suspend(struct intel_pxp *pxp)
220cfab4cbSHuang, Sean Z {
230cfab4cbSHuang, Sean Z }
240cfab4cbSHuang, Sean Z 
intel_pxp_resume_complete(struct intel_pxp * pxp)25*24efe424SAlan Previn static inline void intel_pxp_resume_complete(struct intel_pxp *pxp)
260cfab4cbSHuang, Sean Z {
270cfab4cbSHuang, Sean Z }
280cfab4cbSHuang, Sean Z 
intel_pxp_runtime_suspend(struct intel_pxp * pxp)29b8d84368STejas Upadhyay static inline void intel_pxp_runtime_suspend(struct intel_pxp *pxp)
30b8d84368STejas Upadhyay {
31b8d84368STejas Upadhyay }
32b8d84368STejas Upadhyay #endif
intel_pxp_runtime_resume(struct intel_pxp * pxp)33b8d84368STejas Upadhyay static inline void intel_pxp_runtime_resume(struct intel_pxp *pxp)
34b8d84368STejas Upadhyay {
35*24efe424SAlan Previn 	intel_pxp_resume_complete(pxp);
36b8d84368STejas Upadhyay }
370cfab4cbSHuang, Sean Z #endif /* __INTEL_PXP_PM_H__ */
38