]> Git Repo - linux.git/blob - drivers/gpu/drm/i915/pxp/intel_pxp_pm.h
Merge patch series "riscv: Extension parsing fixes"
[linux.git] / drivers / gpu / drm / i915 / pxp / intel_pxp_pm.h
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 struct intel_pxp;
10
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);
16 void intel_pxp_runtime_resume(struct intel_pxp *pxp);
17 #else
18 static inline void intel_pxp_suspend_prepare(struct intel_pxp *pxp)
19 {
20 }
21
22 static inline void intel_pxp_suspend(struct intel_pxp *pxp)
23 {
24 }
25
26 static inline void intel_pxp_resume_complete(struct intel_pxp *pxp)
27 {
28 }
29
30 static inline void intel_pxp_runtime_suspend(struct intel_pxp *pxp)
31 {
32 }
33
34 static inline void intel_pxp_runtime_resume(struct intel_pxp *pxp)
35 {
36 }
37 #endif
38 #endif /* __INTEL_PXP_PM_H__ */
This page took 0.036471 seconds and 4 git commands to generate.