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