xref: /linux/drivers/gpu/drm/i915/gem/i915_gem_pm.h (revision 2c97b5ae83dca56718774e7b4bf9640f05d11867)
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 #endif /* __I915_GEM_PM_H__ */
23