From 734ae3ebcfc0eacd988325e9c399cc7b8ad0220c Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Wed, 27 Jul 2016 13:12:12 +0200 Subject: 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 Signed-off-by: Daniel Vetter --- lib/igt_debugfs.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/igt_debugfs.h') 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__ */ -- cgit v1.2.3