Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * SPDX-License-Identifier: MIT
0003  *
0004  * Copyright © 2019 Intel Corporation
0005  */
0006 
0007 #ifndef __I915_GEM_PM_H__
0008 #define __I915_GEM_PM_H__
0009 
0010 #include <linux/types.h>
0011 
0012 struct drm_i915_private;
0013 struct work_struct;
0014 
0015 void i915_gem_resume(struct drm_i915_private *i915);
0016 
0017 void i915_gem_idle_work_handler(struct work_struct *work);
0018 
0019 void i915_gem_suspend(struct drm_i915_private *i915);
0020 void i915_gem_suspend_late(struct drm_i915_private *i915);
0021 int i915_gem_backup_suspend(struct drm_i915_private *i915);
0022 
0023 int i915_gem_freeze(struct drm_i915_private *i915);
0024 int i915_gem_freeze_late(struct drm_i915_private *i915);
0025 
0026 #endif /* __I915_GEM_PM_H__ */