1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright(c) 2020, Intel Corporation. All rights reserved.
4  */
5 
6 #ifndef __INTEL_PXP_PM_H__
7 #define __INTEL_PXP_PM_H__
8 
9 #include "intel_pxp_types.h"
10 
11 #ifdef CONFIG_DRM_I915_PXP
12 void intel_pxp_suspend(struct intel_pxp *pxp, bool runtime);
13 void intel_pxp_resume(struct intel_pxp *pxp);
14 #else
15 static inline void intel_pxp_suspend(struct intel_pxp *pxp, bool runtime)
16 {
17 }
18 
19 static inline void intel_pxp_resume(struct intel_pxp *pxp)
20 {
21 }
22 #endif
23 
24 #endif /* __INTEL_PXP_PM_H__ */
25