aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/i915/gt/debugfs_engines.h
diff options
context:
space:
mode:
authorAndi Shyti <andi.shyti@intel.com>2019-12-22 14:40:46 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-12-22 15:25:10 +0000
commit9dd4b065446aebf61b84ba05fb4d78c39e33113b (patch)
treea842c513d14e83c220bbe646a4158634bf7f5672 /drivers/gpu/drm/i915/gt/debugfs_engines.h
parentdrm/i915/gt: Merge engine init/setup loops (diff)
downloadwireguard-linux-9dd4b065446aebf61b84ba05fb4d78c39e33113b.tar.xz
wireguard-linux-9dd4b065446aebf61b84ba05fb4d78c39e33113b.zip
drm/i915/gt: Move pm debug files into a gt aware debugfs
The GT system is becoming more and more a stand-alone system in i915 and it's fair to assign it its own debugfs directory. rc6, rps and llc debugfs files are gt related, move them into the gt debugfs directory. Signed-off-by: Andi Shyti <andi.shyti@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20191222144046.1674865-3-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gt/debugfs_engines.h')
-rw-r--r--drivers/gpu/drm/i915/gt/debugfs_engines.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gt/debugfs_engines.h b/drivers/gpu/drm/i915/gt/debugfs_engines.h
new file mode 100644
index 000000000000..f69257eaa1cc
--- /dev/null
+++ b/drivers/gpu/drm/i915/gt/debugfs_engines.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2019 Intel Corporation
+ */
+
+#ifndef DEBUGFS_ENGINES_H
+#define DEBUGFS_ENGINES_H
+
+struct intel_gt;
+struct dentry;
+
+void debugfs_engines_register(struct intel_gt *gt, struct dentry *root);
+
+#endif /* DEBUGFS_ENGINES_H */