0001
0002
0003
0004
0005
0006 #ifndef __INTEL_PXP_PM_H__
0007 #define __INTEL_PXP_PM_H__
0008
0009 struct intel_pxp;
0010
0011 #ifdef CONFIG_DRM_I915_PXP
0012 void intel_pxp_suspend_prepare(struct intel_pxp *pxp);
0013 void intel_pxp_suspend(struct intel_pxp *pxp);
0014 void intel_pxp_resume(struct intel_pxp *pxp);
0015 void intel_pxp_runtime_suspend(struct intel_pxp *pxp);
0016 #else
0017 static inline void intel_pxp_suspend_prepare(struct intel_pxp *pxp)
0018 {
0019 }
0020
0021 static inline void intel_pxp_suspend(struct intel_pxp *pxp)
0022 {
0023 }
0024
0025 static inline void intel_pxp_resume(struct intel_pxp *pxp)
0026 {
0027 }
0028
0029 static inline void intel_pxp_runtime_suspend(struct intel_pxp *pxp)
0030 {
0031 }
0032 #endif
0033 static inline void intel_pxp_runtime_resume(struct intel_pxp *pxp)
0034 {
0035 intel_pxp_resume(pxp);
0036 }
0037 #endif