intel_gt_pm.h 547 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * SPDX-License-Identifier: MIT
 *
 * Copyright © 2019 Intel Corporation
 */

#ifndef INTEL_GT_PM_H
#define INTEL_GT_PM_H

#include <linux/types.h>

struct drm_i915_private;
13
struct intel_gt;
14 15 16 17 18 19 20 21 22

enum {
	INTEL_GT_UNPARK,
	INTEL_GT_PARK,
};

void intel_gt_pm_get(struct drm_i915_private *i915);
void intel_gt_pm_put(struct drm_i915_private *i915);

23
void intel_gt_pm_init_early(struct intel_gt *gt);
24 25 26 27 28

void intel_gt_sanitize(struct drm_i915_private *i915, bool force);
void intel_gt_resume(struct drm_i915_private *i915);

#endif /* INTEL_GT_PM_H */