From d4e3b6a0f5cd759182a53e2bc51a3d3f317a81f0 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Wed, 8 Oct 2014 17:06:58 +0100 Subject: lib: various documentation fixes Signed-off-by: Thomas Wood --- lib/igt_core.h | 1 + lib/igt_debugfs.h | 4 ++-- lib/rendercopy_gen9.c | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/igt_core.h b/lib/igt_core.h index e42dc337..b8f67023 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -268,6 +268,7 @@ void igt_exit(void) __attribute__((noreturn)); * igt_assert_cmpint: * @n1: first value * @cmp: compare operator + * @ncmp: negated version of @cmp * @n2: second value * * Fails (sub-)test if the condition is not met diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h index adcf83b2..8ac15396 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -146,7 +146,6 @@ int igt_open_forcewake_handle(void); /** * stop_ring_flags: - * * @STOP_RING_NONE: Can be used to clear the pending stop (warning: hang might * be declared already). Returned by igt_get_stop_rings() if there is * no currently stopped rings. @@ -157,7 +156,8 @@ int igt_open_forcewake_handle(void); * @STOP_RING_ALL: All rings * @STOP_RING_ALLOW_ERRORS: Driver will not omit expected DRM_ERRORS * @STOP_RING_ALLOW_BAN: Driver will use context ban policy - * @STOP_RING_DEFAULT: STOP_RING_ALL | STOP_RING_ALLOW_ERRORS + * @STOP_RING_DEFAULTS: STOP_RING_ALL | STOP_RING_ALLOW_ERRORS + * * Enumeration of all supported flags for igt_set_stop_rings(). * */ diff --git a/lib/rendercopy_gen9.c b/lib/rendercopy_gen9.c index 92265c16..9ff4b3a3 100644 --- a/lib/rendercopy_gen9.c +++ b/lib/rendercopy_gen9.c @@ -286,7 +286,7 @@ gen8_fill_ps(struct intel_batchbuffer *batch, return offset; } -/** +/* * gen7_fill_vertex_buffer_data populate vertex buffer with data. * * The vertex buffer consists of 3 vertices to construct a RECTLIST. The 4th @@ -327,7 +327,7 @@ gen7_fill_vertex_buffer_data(struct intel_batchbuffer *batch, return offset; } -/** +/* * gen6_emit_vertex_elements - The vertex elements describe the contents of the * vertex buffer. We pack the vertex buffer in a semi weird way, conforming to * what gen6_rendercopy did. The most straightforward would be to store @@ -384,7 +384,7 @@ gen6_emit_vertex_elements(struct intel_batchbuffer *batch) { GEN6_VFCOMPONENT_STORE_1_FLT << VE1_VFCOMPONENT_3_SHIFT); } -/** +/* * gen7_emit_vertex_buffer emit the vertex buffers command * * @batch -- cgit v1.2.3