[igt-dev] [PATCH i-g-t] lib/kms: Fix documentation for for_each_pipe_static

Petri Latvala petri.latvala at intel.com
Mon Dec 17 12:43:23 UTC 2018


The documentation block was copypasted from for_each_pipe without
changing the name.

A drive-by typo fix to for_each_pipe's docs is included.

Signed-off-by: Petri Latvala <petri.latvala at intel.com>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 lib/igt_kms.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/igt_kms.h b/lib/igt_kms.h
index 09395360..4a7c3c97 100644
--- a/lib/igt_kms.h
+++ b/lib/igt_kms.h
@@ -461,7 +461,7 @@ static inline bool igt_output_is_connected(igt_output_t *output)
 			      igt_output_is_connected((output))))
 
 /**
- * for_each_pipe:
+ * for_each_pipe_static:
  * @pipe: The pipe to iterate.
  *
  * This for loop iterates over all pipes supported by IGT libraries.
@@ -481,7 +481,7 @@ static inline bool igt_output_is_connected(igt_output_t *output)
  *
  * Note that this cannot be used to enumerate per-pipe subtest names since it
  * depends upon runtime probing of the actual kms driver that is being tested.
- * Used #for_each_pipe_static instead.
+ * Use #for_each_pipe_static instead.
  */
 #define for_each_pipe(display, pipe)					\
 	for (pipe = 0; assert(igt_can_fail()), pipe < igt_display_get_n_pipes(display); pipe++)
-- 
2.19.1



More information about the igt-dev mailing list