[Intel-gfx] [PATCH i-g-t 1/2] lib: Fix some doc warnings
Daniel Vetter
daniel.vetter at ffwll.ch
Sat Mar 19 11:15:58 UTC 2016
Cc: Marius Vlad <marius.c.vlad at intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
lib/igt_core.c | 2 ++
lib/igt_kms.c | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/igt_core.c b/lib/igt_core.c
index 947a9ca37690..1f9be7d0688e 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -1435,6 +1435,8 @@ void igt_waitchildren(void)
/**
* igt_waitchildren_timeout:
+ * @seconds: timeout in seconds to wait
+ * @reasons: debug string explaining what timedout
*
* Wait for all children forked with igt_fork, for a maximum of @seconds.
*
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index f9a7bb0d6bc5..73c065a31040 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1020,11 +1020,12 @@ void kmstest_unset_all_crtcs(int drm_fd, drmModeResPtr resources)
}
/**
- * kmstest_get_crtc_idx: get the CRTC index based on its ID
+ * kmstest_get_crtc_idx:
* @res: the libdrm resources
* @crtc_id: the CRTC id
*
- * This is useful since a few places of libdrm deal with CRTC masks.
+ * Get the CRTC index based on its ID. This is useful since a few places of
+ * libdrm deal with CRTC masks.
*/
int kmstest_get_crtc_idx(drmModeRes *res, uint32_t crtc_id)
{
--
2.7.0
More information about the Intel-gfx
mailing list