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_init__pm(struct drm_i915_private *i915); 16 17 bool i915_gem_load_power_context(struct drm_i915_private *i915); 18 void i915_gem_resume(struct drm_i915_private *i915); 19 20 void i915_gem_idle_work_handler(struct work_struct *work); 21 22 void i915_gem_suspend(struct drm_i915_private *i915); 23 void i915_gem_suspend_late(struct drm_i915_private *i915); 24 25 #endif /* __I915_GEM_PM_H__ */ 26