summaryrefslogtreecommitdiff
path: root/lib/igt_debugfs.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-27 13:12:12 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-07-27 15:43:25 +0200
commit734ae3ebcfc0eacd988325e9c399cc7b8ad0220c (patch)
treed34fd8c8e497457f3a982225109ed0a75b074b27 /lib/igt_debugfs.h
parent430c1345d8a00d9c95a8e0852a61de67116143e5 (diff)
lib: update docs for igt_debugfs
- gtk-doc requires that the names in comments match the ones in the header declaration. - igt_debugfs_dir works together with igt_sysfs_get(). Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt_debugfs.h')
-rw-r--r--lib/igt_debugfs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h
index 7390fc57..6a3cb07f 100644
--- a/lib/igt_debugfs.h
+++ b/lib/igt_debugfs.h
@@ -155,6 +155,11 @@ bool igt_crc_equal(igt_crc_t *a, igt_crc_t *b);
* Also drop active objects once retired.
*/
#define DROP_ACTIVE 0x8
+/**
+ * DROP_ALL:
+ *
+ * All of the above DROP_ flags combined.
+ */
#define DROP_ALL (DROP_UNBOUND | \
DROP_BOUND | \
DROP_RETIRE | \
@@ -175,6 +180,6 @@ void igt_enable_prefault(void);
*/
int igt_get_stable_obj_count(int driver);
-int igt_debugfs_dir(int fd);
+int igt_debugfs_dir(int device);
#endif /* __IGT_DEBUGFS_H__ */