xref: /linux/drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.h (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2019 Intel Corporation
4  */
5 
6 #ifndef INTEL_GT_PM_DEBUGFS_H
7 #define INTEL_GT_PM_DEBUGFS_H
8 
9 struct intel_gt;
10 struct dentry;
11 struct drm_printer;
12 
13 void intel_gt_pm_debugfs_register(struct intel_gt *gt, struct dentry *root);
14 void intel_gt_pm_frequency_dump(struct intel_gt *gt, struct drm_printer *m);
15 
16 /* functions that need to be accessed by the upper level non-gt interfaces */
17 void intel_gt_pm_debugfs_forcewake_user_open(struct intel_gt *gt);
18 void intel_gt_pm_debugfs_forcewake_user_release(struct intel_gt *gt);
19 
20 #endif /* INTEL_GT_PM_DEBUGFS_H */
21