summaryrefslogtreecommitdiff
path: root/lib/drmtest.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-03-11 16:04:29 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-11 17:19:47 +0100
commit2d4438605efd57a7ed336df42326693065ee5d02 (patch)
tree90449741f40e174687fcd6a47b104dc061338003 /lib/drmtest.c
parent14ea2a04ebfa287e33b69a3bc7e47f02ba93c9ed (diff)
drmtest: reformat the API documentation
Make the existing documentation compatible with gtk-doc. Signed-off-by: Thomas Wood <thomas.wood@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r--lib/drmtest.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index 9f6e701f..20918b7c 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -176,9 +176,11 @@ void gem_quiescent_gpu(int fd)
}
/**
- * drm_get_card() - get an intel card number for use in /dev or /sys
+ * drm_get_card:
*
- * returns -1 on error
+ * Get an intel card number for use in /dev or /sys
+ *
+ * Returns: -1 on error
*/
int drm_get_card(void)
{
@@ -1241,11 +1243,6 @@ bool __igt_fork_helper(struct igt_helper_process *proc)
}
-/**
- * igt_waitchildren - wait for all children forked with igt_fork
- *
- * The magic here is that exit codes from children will be correctly propagated
- */
void igt_stop_helper(struct igt_helper_process *proc)
{
int status, ret;
@@ -1338,7 +1335,9 @@ bool __igt_fork(void)
}
/**
- * igt_waitchildren - wait for all children forked with igt_fork
+ * igt_waitchildren:
+ *
+ * Wait for all children forked with igt_fork
*
* The magic here is that exit codes from children will be correctly propagated
*/
@@ -1394,7 +1393,9 @@ bool igt_run_in_simulation(void)
}
/**
- * igt_skip_on_simulation - skip tests when INTEL_SIMULATION env war is set
+ * igt_skip_on_simulation:
+ *
+ * Skip tests when INTEL_SIMULATION env war is set
*
* Skip the test when running on simulation (and that's relevant only when
* we're not in the mode where we list the subtests).