summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-09-16 11:43:30 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-09-16 11:46:58 +0100
commit5cbb714fbf3669f23a8238ada8b45b584961566b (patch)
tree3feafff42c14b4420392bad755035f3ff6fae40d /lib/igt_debugfs.h
parentc79f47310e835ee031c1e8e50db1697c45113347 (diff)
lib: Export igt_debugfs_mount()
Not everything we want from debugfs is under debugfs/dri. But we do want to share the code to find the debugfs mount point (and mount it if is not found). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r--lib/igt_debugfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 1a757b84..988025f9 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -31,6 +31,8 @@
enum pipe;
+const char *igt_debugfs_mount(void);
+
int igt_debugfs_open(const char *filename, int mode);
FILE *igt_debugfs_fopen(const char *filename,
const char *mode);