1 /* 2 * SPDX-License-Identifier: MIT 3 * 4 * Copyright © 2019 Intel Corporation 5 */ 6 7 #ifndef INTEL_GT_PM_H 8 #define INTEL_GT_PM_H 9 10 #include <linux/types.h> 11 12 struct drm_i915_private; 13 14 enum { 15 INTEL_GT_UNPARK, 16 INTEL_GT_PARK, 17 }; 18 19 void intel_gt_pm_get(struct drm_i915_private *i915); 20 void intel_gt_pm_put(struct drm_i915_private *i915); 21 22 void intel_gt_pm_init(struct drm_i915_private *i915); 23 24 void intel_gt_sanitize(struct drm_i915_private *i915, bool force); 25 void intel_gt_resume(struct drm_i915_private *i915); 26 27 #endif /* INTEL_GT_PM_H */ 28