diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-09-16 11:43:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-09-16 11:46:58 +0100 |
commit | 5cbb714fbf3669f23a8238ada8b45b584961566b (patch) | |
tree | 3feafff42c14b4420392bad755035f3ff6fae40d /lib/igt_debugfs.h | |
parent | c79f47310e835ee031c1e8e50db1697c45113347 (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.h | 2 |
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); |