i915_gem_pm.h (636B)
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 12struct drm_i915_private; 13struct work_struct; 14 15void i915_gem_resume(struct drm_i915_private *i915); 16 17void i915_gem_idle_work_handler(struct work_struct *work); 18 19void i915_gem_suspend(struct drm_i915_private *i915); 20void i915_gem_suspend_late(struct drm_i915_private *i915); 21int i915_gem_backup_suspend(struct drm_i915_private *i915); 22 23int i915_gem_freeze(struct drm_i915_private *i915); 24int i915_gem_freeze_late(struct drm_i915_private *i915); 25 26#endif /* __I915_GEM_PM_H__ */