1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright © 2019 Intel Corporation
5  */
6 
7 #ifndef __I915_GEM_PM_H__
8 #define __I915_GEM_PM_H__
9 
10 #include <linux/types.h>
11 
12 struct drm_i915_private;
13 struct work_struct;
14 
15 void i915_gem_resume(struct drm_i915_private *i915);
16 
17 void i915_gem_idle_work_handler(struct work_struct *work);
18 
19 void i915_gem_suspend(struct drm_i915_private *i915);
20 void i915_gem_suspend_late(struct drm_i915_private *i915);
21 
22 int i915_gem_freeze(struct drm_i915_private *i915);
23 int i915_gem_freeze_late(struct drm_i915_private *i915);
24 
25 #endif /* __I915_GEM_PM_H__ */
26